mingodad
|
79f10cd2e1
Add a comment to the last fix on sq_compiler.
|
há 8 anos atrás |
mingodad
|
faf042b87f
Fix a segfault when compiling with gcc -O3
|
há 9 anos atrás |
mingodad
|
b61525390d
Fix a bug in the compiler "include" code where doing a Lex() before the include file could trigger a search for a symbol defined on the include file and because of that be attached to a global search at runtime.
|
há 9 anos atrás |
mingodad
|
eb1c8e4414
Added the global rawcall that was implemented on squirrel
|
há 9 anos atrás |
mingodad
|
f7753fc37d
Fix typescript style class member declarations
|
há 9 anos atrás |
mingodad
|
64e8a503b7
Accept and discard C/C++ style cast, right now only the type (int) no other qualifiers "const/*/..."
|
há 9 anos atrás |
mingodad
|
025c89a0a9
Fix parsing template declaration inside class/struct.
|
há 9 anos atrás |
mingodad
|
45512ad52d
Simplification of the "goto" implementation, it's usable with care, goto/jump crossing declaration/initialization need to show an error message, still need work.
|
há 9 anos atrás |
mingodad
|
035fb55be6
The "goto" implementation is in a working state but still need more work.
|
há 9 anos atrás |
mingodad
|
5d6b79f3bf
More work on the implementation of goto statement, still need more work
|
há 9 anos atrás |
mingodad
|
7fa8db67b8
Add _OP_NOP to try solve the goto _POP_TRAP and RESOLVE_OUTERS, still need work on it
|
há 9 anos atrás |
mingodad
|
efbf11ea1e
Simplification of ResolvGotos method, still need more work
|
há 9 anos atrás |
mingodad
|
ba83378ac1
Add an initial implementation of goto, still need more work.
|
há 9 anos atrás |
mingodad
|
dc94a15a4e
Changed the lexer/parser to accept and discard C/C++ template/goto/label
|
há 9 anos atrás |
mingodad
|
9bc71a8ccb
Add "goto" keyword and made the lexer/parser recognize (including labels) and ignore then for now.
|
há 9 anos atrás |
mingodad
|
8b8c203ebb
Fix parsing "inline/const" keyword inside class/variable declaration.
|
há 9 anos atrás |
mingodad
|
be31724a89
Fix for loop using already declared variables in initialzation.
|
há 9 anos atrás |
mingodad
|
4901b63c83
Add a SQLexer::LookaheadLex method to facilitate compile/run more C/C++ code
|
há 9 anos atrás |
mingodad
|
b47874780d
Fix more C/C++ syntax recognition.
|
há 9 anos atrás |
mingodad
|
6b596522e2
Added constexpr and inline C++ keywords
|
há 9 anos atrás |
mingodad
|
103c1b8815
Remove some c++11 constructs to allow compile with old compilers.
|
há 9 anos atrás |
mingodad
|
da51838da0
Only enable compiler includes if specified at compile time.
|
há 9 anos atrás |
mingodad
|
ae88573bfc
Add an option to the lexer to return comments and use it by scripts
|
há 9 anos atrás |
mingodad
|
8eceded6a0
Add changes from squirrel
|
há 9 anos atrás |
mingodad
|
5976c2e7b9
Add size_t and ssize_t as alias to local
|
há 9 anos atrás |
mingodad
|
b1a91a7a57
Added noexcept/friend as reserved keywords
|
há 9 anos atrás |
mingodad
|
4894b953d9
Fix case when we have an anonymous block
|
há 9 anos atrás |
mingodad
|
350213c0be
Added reduced using/typedef keywords valid syntax
|
há 9 anos atrás |
mingodad
|
4a0621690e
Add more C/C++ keywords as accepted syntax.
|
há 9 anos atrás |
mingodad
|
e2ba402fca
Add parsing "extern" declarations, reorder the tokens alphabetically.
|
há 9 anos atrás |