My Parser.y file contains below code.
%defines "Parser.h"
I've compiled this file and I've got a below error.
$ bison Parser.y
Parser.y:27.10-19: syntax error, unexpected string
So I've made this line commented.
//%defines "Parser.h"
I've compiled this file and I've got no error but It didn't make output header file.
And I've changed compile option.
$ bison Parser.y --defines=Parser.h
It was successful but I don't want use option with "bison" command.
In other words, I want to use %defines option in bison file.
What should I do?
Sorry for pooooooor english.