mingodad
|
7014370221
Add a missing "case TK_INTERFACE:" and also a fix for default parameter value
|
6 years ago |
mingodad
|
348af948df
Add "interface" as reserved keyword and synonym for "class"
|
6 years ago |
mingodad
|
44fa254266
Fix typo in comment
|
6 years ago |
mingodad
|
997678e94b
Fix to lexing integer overflow inside excluded ifdef
|
6 years ago |
mingodad
|
1c8097c63c
Add code to allow better management of already declared variables, not finished
|
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
|
fb6007db78
Fix end of statement without ';' when trying to recognise C++ namespace prefix, also fix spelling mistake
|
7 years ago |
mingodad
|
c496569300
Changes to accept more C/C++ const style declarations
|
7 years ago |
mingodad
|
aeaf302490
Fix several compiler warnings
|
7 years ago |
mingodad
|
9bc89af102
Allow the usage of inline float constant whenever it fits SQInt32
|
7 years ago |
mingodad
|
deb98895be
Accept void pointer declaration.
|
7 years ago |
mingodad
|
3ff2f2e6e8
Accept C/C++ pointer variable declaration.
|
7 years ago |
mingodad
|
065b88a368
Fix typo in SetIntructionParams
|
7 years ago |
mingodad
|
1d62218bab
Add a type check before try to set an enum value as integer
|
7 years ago |
mingodad
|
125175c480
Change the "compile time check constant" character to '$' and allow it's usage on expressions and in table initialization.
|
7 years ago |
mingodad
|
9374ec39f1
Add experimental shortcut for string constant 'const :somestr; == const somestr = "somestr";'
|
7 years ago |
mingodad
|
1538b25375
Fix a bug with default parameters and local recursive calls, also added a test for it.
|
7 years ago |
mingodad
|
c2881a0565
Fix '#include' inside '#ifdef' and add a default macro '__SQUILU__'
|
7 years ago |
mingodad
|
358e54bb31
Accept and discard a C++/Java type for the catch parameter
|
7 years ago |
mingodad
|
69ab368819
Fix compiler bugs found using zzuf tool, also now accepts C++ namespace syntax "::" as an alias to ".", added the samples that crashed the compiler.
|
8 years ago |
mingodad
|
9f8b951d6d
Add preproccessor directives #ifdef, #else, #endif, #define and #undef they are parsed at the same time as the script, I mean it's not a two pass scan/parse, the named proproccessor variables are not accessible to scripts.
|
8 years ago |
mingodad
|
a8e2a31141
Cleanup unnecessary code.
|
8 years ago |
mingodad
|
d98dff4505
Add the missing bitwise operators "|=", "&=", "<<=", ">>=", ...
|
8 years ago |
mingodad
|
a2333d71ef
Added type info to the comments in the squilu bytecode generation option
|
8 years ago |
mingodad
|
55e5b72f75
Reformated it using codeblocks astyle plugin.
|
8 years ago |
mingodad
|
1cfc0f80f5
Fix for a bug reported and solved by https://github.com/virt00l on squirrel
|
8 years ago |
mingodad
|
ea079daa15
Several fixes from squirrel.
|
8 years ago |
mingodad
|
c74277f2c2
Several fixes found when translating lua 5.1 tests (http://www.inf.puc-rio.br/%7Eroberto/lua/lua5.1-tests.tar.gz)
|
8 years ago |
mingodad
|
fbfa0c2cfd
A better error message for case where we have a variable declaration inside a for loop.
|
8 years ago |
mingodad
|
e4650598a8
Accept two or more consecutive strings as one like in C/C++
|
8 years ago |