Add a "new" keyword for constructing nullable methodmaps.

This commit is contained in:
David Anderson
2014-11-30 18:38:26 -08:00
parent e7e43e38a5
commit 9f5c8b60ae
15 changed files with 130 additions and 2 deletions
+3 -2
View File
@@ -1961,12 +1961,13 @@ const char *sc_tokens[] = {
"...", "..", "::",
"assert",
"*begin", "break",
"case", "cellsof", "char", "const", "continue",
"case", "cast_to", "cellsof", "char", "const", "continue",
"decl", "default", "defined", "delete", "do",
"else", "*end", "enum", "exit",
"for", "forward", "funcenum", "functag", "function",
"goto",
"if", "int",
"let",
"methodmap",
"native", "new", "null", "__nullable__",
"object", "operator",
@@ -1975,7 +1976,7 @@ const char *sc_tokens[] = {
"sizeof", "sleep", "static", "stock", "struct", "switch",
"tagof", "*then", "this", "typedef",
"union",
"void",
"var", "view_as", "void",
"while",
"#assert", "#define", "#else", "#elseif", "#emit", "#endif", "#endinput",
"#endscript", "#error", "#file", "#if", "#include", "#line", "#pragma",