Updated test cases
Added string literal support for expressionsexpression_parsing.sync-conflict-20210316-090018-O3W7KWN
parent
7a2ee46cdb
commit
da79f7f1d5
|
@ -189,6 +189,12 @@ public final class Parser
|
|||
|
||||
}
|
||||
}
|
||||
/* If it is a string literal */
|
||||
else if(symbol == SymbolType.STRING_LITERAL)
|
||||
{
|
||||
/* Get the next token */
|
||||
nextToken();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
|
@ -276,7 +282,8 @@ public final class Parser
|
|||
}
|
||||
else
|
||||
{
|
||||
// gprintln("Error");
|
||||
gprintln("parse(): Geen idee", DebugType.ERROR);
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,5 +5,6 @@ ubyte k = 1;
|
|||
|
||||
void main(int hello)
|
||||
{
|
||||
ubyte thing = "Hello";
|
||||
print("Hello world");
|
||||
}
|
Loading…
Reference in New Issue