From: bdemsky Date: Sat, 16 Apr 2011 08:06:46 +0000 (+0000) Subject: add keyword for task allocation... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f8266e5cffb1ba89af432fb4436105ff1f7a12ba;p=IRC.git add keyword for task allocation... --- diff --git a/Robust/src/Lex/Keyword.java b/Robust/src/Lex/Keyword.java index b773a7fe..eea77f5e 100644 --- a/Robust/src/Lex/Keyword.java +++ b/Robust/src/Lex/Keyword.java @@ -51,6 +51,7 @@ class Keyword extends Token { key_table.put("long", new Integer(Sym.LONG)); key_table.put("native", new Integer(Sym.NATIVE)); key_table.put("new", new Integer(Sym.NEW)); + key_table.put("newflag", new Integer(Sym.NEWFLAG)); key_table.put("package", new Integer(Sym.PACKAGE)); key_table.put("private", new Integer(Sym.PRIVATE)); key_table.put("protected", new Integer(Sym.PROTECTED)); diff --git a/Robust/src/Lex/Lexer.java b/Robust/src/Lex/Lexer.java index 744c5aca..f72f9412 100644 --- a/Robust/src/Lex/Lexer.java +++ b/Robust/src/Lex/Lexer.java @@ -268,7 +268,7 @@ public class Lexer { "interface", "isavailable", "locdef", "long", - "native", "new", "optional", "package", "private", "protected", "public", + "native", "new", "newflag", "optional", "package", "private", "protected", "public", "rblock", "return", "scratch", "sese", "short", "static", "strictfp", "super", "switch", "synchronized", "tag", "task", "taskexit", //keywords for failure aware computation