add keyword for task allocation...
authorbdemsky <bdemsky>
Sat, 16 Apr 2011 08:06:46 +0000 (08:06 +0000)
committerbdemsky <bdemsky>
Sat, 16 Apr 2011 08:06:46 +0000 (08:06 +0000)
Robust/src/Lex/Keyword.java
Robust/src/Lex/Lexer.java

index b773a7feca939064b2bc7c69e461549b4f7716b7..eea77f5e70954d3bd9932e022ee8b31e28bd4fa3 100644 (file)
@@ -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));
index 744c5acafe5c36886e4ce286187672cc2914d601..f72f9412771ecd3f5d1710d0a490180a06eaaac4 100644 (file)
@@ -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