summaryrefslogtreecommitdiffstats
path: root/src/sqlcode.l
Commit message (Collapse)AuthorAgeFilesLines
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-10/+10
|
* Fix compiler warnings on Windows (Visual Studio)Dimitri van Heesch2020-02-121-0/+3
|
* Added missing debug flags for scanner that were made reentrantDimitri van Heesch2019-12-051-1/+1
|
* Split language parser into "outline parser" and "code parser"Dimitri van Heesch2019-12-031-0/+30
|
* Remove bogus flex codeDimitri van Heesch2019-11-181-8/+0
|
* Consistent way to show scanner statealbert-github2019-09-051-0/+2
| | | | | Create a consistent way to display the state mnemonics of the different scanners (analogous to the fortranscanner.l) Use an automatic procedure to generate the routine with the translation of the states to a string.
* Fix for printlex after destroying the scanner contextDimitri van Heesch2019-05-281-2/+1
|
* enable debug for re-entrant lexersAdrian Negreanu2019-05-221-0/+5
|
* Missing debug statements sqlcode and xmlcode lexersalbert-github2019-05-201-0/+3
| | | | The messages for `doxygen -d lex` were missing in case of the sqlcode.l and xmlcode.l
* Fixed memory leak in reentrant lexersDimitri van Heesch2019-05-121-1/+4
|
* sqlcode.l: generate a reentrant scannerAdrian Negreanu2019-05-041-225/+250
| | | | | | | | | | | | | | | | | * put the global variables in struct sqlcodeYY_state. * globally define yyscanner and sqlcode_extra. these two should be per-thread. * add a new yyscan_t function parameter when these functions are referenced: - yyin, yyout, yyextra, yyleng, yytext, yylineno, yycolumn, and yy_flex_debug. - the macros BEGIN, YY_START, YYSTATE, yymore, unput, and yyless - the functions that deal with input buffers: yyrestart - others: yy_switch_to_buffer, yy_create_buffer, yy_delete_buffer, yy_flush_buffer, yypush_buffer_state, yypop_buffer_state, yy_scan_buffer, yy_scan_string, and yy_scan_bytes * add a new yyscan_t function parameter when globals are referenced, to get the yyextra out of the yyscanner.
* Improved const correctness and added support for inline namespacesDimitri van Heesch2019-04-211-3/+3
|
* Refactored Definition and derived classes such that they are abstract interfacesDimitri van Heesch2019-02-281-1/+1
|
* Double id for tooltips in XHTML Possible.albert-github2019-01-181-6/+0
| | | | The tooltips (XHTML) should not be displayed per code fragment but for the entire (output) file as otherwise tooltips might be added multiple times resulting in double IDs.
* Add NVARCHAR as a SQL typeArtur Kink2016-11-221-1/+1
|
* Add sql syntax highlighting to code blocksArtur Kink2016-11-221-0/+434