added more compiler code

This commit is contained in:
hyunghwan.chung
2015-06-16 13:29:29 +00:00
parent 13fecb4c70
commit af5e2a543b
5 changed files with 261 additions and 65 deletions

View File

@ -174,7 +174,9 @@ static char* syntax_error_msg[] =
"no character after $",
"no valid character after #",
"missing colon",
"string expected", /* string expected in place of ${1} */
"string expected",
"invalid radix",
"invalid numeric literal",
"{ expected",
"} expected",
"( expected",
@ -196,12 +198,15 @@ static char* syntax_error_msg[] =
"duplicate argument name",
"duplicate temporary variable name",
"duplicate variable name",
"duplicate block argument name",
"cannot assign to argument",
"undeclared variable",
"unusable variable in compiled code",
"inaccessible variable",
"wrong expression primary",
"too many arguments",
"too many block arguments",
"too large block",
"wrong primitive number"
};