mingodad
|
e50cd4cce9
Added '\f' and '\v' to ignored spaces on lexer
|
10 months ago |
mingodad
|
10cc021e47
Fix detecting single utf character 'is too long'
|
4 years ago |
mingodad
|
b34e9469fa
Fix handling of single utf characters specified through '\u0000'
|
4 years ago |
mingodad
|
e9b6f0281b
Allow strings with type prefix when parsing (right now discarding it)
|
4 years ago |
mingodad
|
348af948df
Add "interface" as reserved keyword and synonym for "class"
|
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
|
51fb876dd8
Check if we have allocated "_keywords" before release it
|
6 years ago |
mingodad
|
e4b7c99f49
Add a flag to differentiate single character from integer numbers
|
6 years ago |
mingodad
|
ca903a3695
Fix to allow float numbers like '.2'
|
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
|
c3d1c38b71
Fix parsing integer/hex numbers, also use a macro to show then as string
|
7 years ago |
mingodad
|
aeaf302490
Fix several compiler warnings
|
7 years ago |
mingodad
|
f278c282b0
Accept the string escaping sequence '\/' that is valid for json.
|
7 years ago |
mingodad
|
e910ee96a6
Update the lexer to accept C/C++ float literals like "0.0f"
|
8 years ago |
mingodad
|
80fcef9d5f
Add lua code to manage literal integers that overflow, when it happens parse then as float/double.
|
8 years ago |
mingodad
|
f0b393fe59
Allow nested multiline comments.
|
8 years ago |
mingodad
|
d98dff4505
Add the missing bitwise operators "|=", "&=", "<<=", ">>=", ...
|
8 years ago |
mingodad
|
8090afa720
Fix handling of embedded octal characters in strings
|
8 years ago |
mingodad
|
021f2f62d7
Fix for wrong line counting inside block comments.
|
8 years ago |
mingodad
|
79b78d4da1
Add a check for embedded octal characters not overflowing
|
8 years ago |
mingodad
|
8aae2c2e4e
Normalize several naked chars and fix parsing strings with octal characters embedded
|
8 years ago |
mingodad
|
41c6f4c40c
The last fix on comments was still missing the last char in a line if it was '*'
|
8 years ago |
mingodad
|
9daea8a4ec
Add a field to Lex to store the readcount
|
8 years ago |
mingodad
|
dc70b67d80
Fix a missing character when we have two consecutive '*' inside a comment block.
|
8 years ago |
mingodad
|
280aeba8c9
The compiler now accept integer literal suffixes "uUsSlL" but still all of then are stored as SQInteger.
|
8 years ago |
mingodad
|
6d08e06620
Fix a bug in string embeded unsigned escaping
|
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
|
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.
|
9 years ago |
mingodad
|
f9addc2dfa
Fix handling C++ style multi line
|
9 years ago |