If the PROGRAM token can only occur in this particular grammar production, then in the lexer you can simply flip a switch when you return PROGRAM that tells you to not ignore the next newline you...
Type: Posts; User: brewbuck
If the PROGRAM token can only occur in this particular grammar production, then in the lexer you can simply flip a switch when you return PROGRAM that tells you to not ignore the next newline you...