summaryrefslogtreecommitdiffstats
path: root/src/sqlcode.l
Commit message (Collapse)AuthorAgeFilesLines
* sqlcode.l does not compile in LEX debug modealbert-github2021-01-121-1/+1
| | | | Correction for debug mode in sqlcode.l
* Remove warnings from lexersalbert-github2020-10-201-1/+1
| | | | | | | | Remove warnings (Windows 64 bit compilation) like: ``` warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data ``` from the different lexers by making use of more consistent data types.
* Refactoring: making xmlcode.l reentrantDimitri van Heesch2020-09-141-3/+2
|
* Refactoring: making sqlcode.l reentrantDimitri van Heesch2020-09-131-152/+142
|
* issue #7995 Doxygen doesn't handle very simple example in the .md filealbert-github2020-09-021-0/+3
| | | | Besides "keep utf8 characters together..." as done for the C-type parser in code.l (commit d3d9dd8540ec159de080859c8f34a2581c4147f0) this also has to be done for the Fortran, SQL and VHDL code lexers. The code lexers for python and xml already didn't give errors as they already handled these cases for the example.
* 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