From: bdemsky Date: Thu, 9 Feb 2006 02:32:44 +0000 (+0000) Subject: update Lexer X-Git-Tag: preEdgeChange~998 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0cd3ad8878e55e25631a0748f274c040723848bc;p=IRC.git update Lexer --- diff --git a/Robust/src/Lex/Keyword.java b/Robust/src/Lex/Keyword.java index 185d7b58..4fa882ca 100644 --- a/Robust/src/Lex/Keyword.java +++ b/Robust/src/Lex/Keyword.java @@ -39,11 +39,9 @@ class Keyword extends Token { key_table.put("for", new Integer(Sym.FOR)); key_table.put("goto", new Integer(Sym.GOTO)); key_table.put("if", new Integer(Sym.IF)); - key_table.put("implements", new Integer(Sym.IMPLEMENTS)); key_table.put("import", new Integer(Sym.IMPORT)); key_table.put("instanceof", new Integer(Sym.INSTANCEOF)); key_table.put("int", new Integer(Sym.INT)); - key_table.put("interface", new Integer(Sym.INTERFACE)); key_table.put("long", new Integer(Sym.LONG)); key_table.put("native", new Integer(Sym.NATIVE)); key_table.put("new", new Integer(Sym.NEW)); diff --git a/Robust/src/Lex/Lexer.java b/Robust/src/Lex/Lexer.java index c803d391..2fc1a8b5 100644 --- a/Robust/src/Lex/Lexer.java +++ b/Robust/src/Lex/Lexer.java @@ -63,7 +63,6 @@ public class Lexer { case Sym.GT: case Sym.COMMA: case Sym.EXTENDS: - case Sym.IMPLEMENTS: return true; } }