https://bugs.freedesktop.org/show_bug.cgi?id=51404
--- Comment #6 from Lionel Elie Mamane <[email protected]> --- (In reply to comment #4) > Is someone can work (...) tell me where the parser file is > in the source code of Libre Office ? The lexer/parser is in connectivity/source/parse, files sqlflex.l and sqlbison.y I'll gladly review and apply your patch. Thanks in advance! After making the parser able to dynamically add new keywords, we would have to initialise the list of accepted keywords. When connecting through an ODBC driver we should initialise with: SQLGetInfo(,SQL_KEYWORDS,,,) AND the value of SQL_ODBC_KEYWORDS (see http://msdn.microsoft.com/en-us/library/windows/desktop/ms711681(v=vs.85).aspx ) I presume JDBC has a similar API call to get the datasource-specific keywords. If we can design a more generic solution that would not require LibO to know the database's keywords, that would be double plus extra good. I don't have an idea out of the top of my head right now. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
