Commit History

Author SHA1 Message Date
  mingodad d1c3869e7c When exposing the CustomSQLexer to scripts we've been segfaulting when closing the vm due to the order of creation, the _keywords table was created before (inside the script SQLexer constructor) the lexer was inserted in the vm, this seems to fix it for now, probably a more general fix need to be done. 6 years ago
  mingodad e40dc0fa7e Add an option to the lexer to parse strings with single and or double quotes 6 years ago
  mingodad 997678e94b Fix to lexing integer overflow inside excluded ifdef 6 years ago
  mingodad e4b7c99f49 Add a flag to differentiate single character from integer numbers 6 years ago
  mingodad 2920db1aef Fix off by one longstr size, because it includes the '\0' terminator 6 years ago
  mingodad 82d0b3cce3 When trying to compile on 32bits with SQInteger as int64_t several problems arised and on the way to fix it several compiler warnings was eliminated. 7 years ago
  mingodad aeaf302490 Fix several compiler warnings 7 years ago
  mingodad 9daea8a4ec Add a field to Lex to store the readcount 8 years ago
  mingodad 715e694405 Now on the exposed SQLexer accept a an optional table with the keywords to be used by the lex. 8 years ago
  mingodad 4901b63c83 Add a SQLexer::LookaheadLex method to facilitate compile/run more C/C++ code 9 years ago
  mingodad 728ad788a8 Update with squirrel, spaces/tabs changed 10 years ago
  mingodad 22d30be09f Record the last token column, to be able to restore comments 10 years ago
  mingodad 4a54906620 Add a reset method member to reset the lexer with a new source 10 years ago
  mingodad 9096e0e040 Make delayed release hooks optional 10 years ago
  mingodad 179e3c446e Remove c++11 nullptr to allow compile with old ios 10 years ago
  mingodad 22fc514011 Remove call to new and replace with new placement, also updated the test-sqlexer.nut example 10 years ago
  mingodad b81bacce84 Code refactoring and expose the SquiLu lexer to scripts see samples/test-sqlexer.nut 10 years ago