gppg_errors
{ $$ = $1; }
D:\Downloads\gppg-distro-1_5_0\binaries>gppg /nolines MyFunc.y Unexpected Error Non-terminating grammar D:\Downloads\gppg-distro-1_5_0\binaries\MyFunc.y(33,0):error 5:There are 2 non-terminating NonTerminal Symbols {NUMBER, IDENT}
D:\Downloads\gppg-distro-1_5_0\binaries\MyFunc.y(33,0):warning 151:Terminating NUMBER fixes the following size-1 NonTerminal set {NUMBER}
D:\Downloads\gppg-distro-1_5_0\binaries\MyFunc.y(33,0):warning 151:Terminating IDENT fixes the following size-1 NonTerminal set {IDENT}
D:\Downloads\gppg-distro-1_5_0\binaries\MyFunc.y(33,0):error 5:NonTerminal symbol “NUMBER” has no productions
D:\Downloads\gppg-distro-1_5_0\binaries\MyFunc.y(33,0):error 5:NonTerminal symbol “IDENT” has no productions
–> NonTerminal symbol “<…>” has no productions — This is a fatal error. Carefully check to see if a rule has been left out, or whether a symbol has simply been misspelled.
–> add toke declaration in the front %token IDENT %token NUMBER