diff --git a/src/main/java/Decaf.g4 b/src/main/java/Decaf.g4 index 4232fd9..bf92507 100644 --- a/src/main/java/Decaf.g4 +++ b/src/main/java/Decaf.g4 @@ -63,7 +63,7 @@ AccessModifierPublic : 'public' ; MainMethodDecl : 'public static void main(String[] args)'; //Print Statement print(VariableA); -print: 'print('Identifier');'; +print: 'print' OpenRoundBracket Identifier ClosedRoundBracket Semicolon; //Types Void : 'void';