mingodad
|
f278c282b0
Accept the string escaping sequence '\/' that is valid for json.
|
7 jaren geleden |
mingodad
|
e910ee96a6
Update the lexer to accept C/C++ float literals like "0.0f"
|
7 jaren geleden |
mingodad
|
80fcef9d5f
Add lua code to manage literal integers that overflow, when it happens parse then as float/double.
|
7 jaren geleden |
mingodad
|
f0b393fe59
Allow nested multiline comments.
|
8 jaren geleden |
mingodad
|
d98dff4505
Add the missing bitwise operators "|=", "&=", "<<=", ">>=", ...
|
8 jaren geleden |
mingodad
|
8090afa720
Fix handling of embedded octal characters in strings
|
8 jaren geleden |
mingodad
|
021f2f62d7
Fix for wrong line counting inside block comments.
|
8 jaren geleden |
mingodad
|
79b78d4da1
Add a check for embedded octal characters not overflowing
|
8 jaren geleden |
mingodad
|
8aae2c2e4e
Normalize several naked chars and fix parsing strings with octal characters embedded
|
8 jaren geleden |
mingodad
|
41c6f4c40c
The last fix on comments was still missing the last char in a line if it was '*'
|
8 jaren geleden |
mingodad
|
9daea8a4ec
Add a field to Lex to store the readcount
|
8 jaren geleden |
mingodad
|
dc70b67d80
Fix a missing character when we have two consecutive '*' inside a comment block.
|
8 jaren geleden |
mingodad
|
280aeba8c9
The compiler now accept integer literal suffixes "uUsSlL" but still all of then are stored as SQInteger.
|
8 jaren geleden |
mingodad
|
6d08e06620
Fix a bug in string embeded unsigned escaping
|
8 jaren geleden |
mingodad
|
715e694405
Now on the exposed SQLexer accept a an optional table with the keywords to be used by the lex.
|
8 jaren geleden |
mingodad
|
012e6a4110
Now SquiLu can accept C++/Java template instantiation declaration, although it discards it, again the idea is to accept a subset of C/C++/Java syntax.
|
8 jaren geleden |
mingodad
|
f9addc2dfa
Fix handling C++ style multi line
|
9 jaren geleden |
mingodad
|
04f05803b0
Fix lexer when using lookahead on a source code with an identifier at the end without a semicolon
|
9 jaren geleden |
mingodad
|
eb1c8e4414
Added the global rawcall that was implemented on squirrel
|
9 jaren geleden |
mingodad
|
dc94a15a4e
Changed the lexer/parser to accept and discard C/C++ template/goto/label
|
9 jaren geleden |
mingodad
|
9bc71a8ccb
Add "goto" keyword and made the lexer/parser recognize (including labels) and ignore then for now.
|
9 jaren geleden |
mingodad
|
23b8683c4c
Add C++ multiline string literal capability R"(A string literal.)".
|
9 jaren geleden |
mingodad
|
4901b63c83
Add a SQLexer::LookaheadLex method to facilitate compile/run more C/C++ code
|
9 jaren geleden |
mingodad
|
b6d08b0629
Fix for incorrect line counting inside block comments
|
9 jaren geleden |
mingodad
|
df3ad41bfc
Small simplification that removes one level of indirection.
|
9 jaren geleden |
mingodad
|
728ad788a8
Update with squirrel, spaces/tabs changed
|
9 jaren geleden |
mingodad
|
6b596522e2
Added constexpr and inline C++ keywords
|
9 jaren geleden |
mingodad
|
22d30be09f
Record the last token column, to be able to restore comments
|
9 jaren geleden |
mingodad
|
ae88573bfc
Add an option to the lexer to return comments and use it by scripts
|
9 jaren geleden |
mingodad
|
5976c2e7b9
Add size_t and ssize_t as alias to local
|
9 jaren geleden |