Added `addInstr()` for StringExpression handling (String literals)
Bug fixed whenever a "" is encountered
This commit is contained in:
parent
415538f54a
commit
6cfca2cea2
|
@ -284,6 +284,12 @@ public final class TypeChecker
|
|||
* interned
|
||||
*/
|
||||
addType(getType(modulle, "char*")); /* FIXME: Make char* */
|
||||
|
||||
/**
|
||||
* Add the instruction (TODO: add comment)
|
||||
*/
|
||||
StringLiteral strLitInstr = new StringLiteral();
|
||||
addInstr(strLitInstr);
|
||||
|
||||
gprintln("Typecheck(): String literal processing... [done]");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue