diff --git a/tool/test/org/antlr/v4/test/TestAttributeChecks.java b/tool/test/org/antlr/v4/test/TestAttributeChecks.java index ad3970502..23bd506d0 100644 --- a/tool/test/org/antlr/v4/test/TestAttributeChecks.java +++ b/tool/test/org/antlr/v4/test/TestAttributeChecks.java @@ -201,7 +201,7 @@ public class TestAttributeChecks extends BaseTest { @Test public void testTokenRef() throws RecognitionException { String grammar = "parser grammar S;\n" + - "tokens{ID;}\n" + + "tokens{ID}\n" + "a : x=ID {Token t = $x; t = $ID;} ;\n"; String expected = "";