Click here to Skip to main content
15,941,615 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
lex b2.l
yacc -d -v b2.y
gcc lex.yy.c

What I have tried:

Can someone plzz tell about the same
Updated 20-Oct-16 7:48am
Wendelius 20-Oct-16 13:35pm    
Are you using Bison?
Member 12800975 20-Oct-16 13:43pm    
[no name] 20-Oct-16 13:48pm    
The answer is just a google search away,

1 solution

Since you're using Bison, have a look at Bison 3.0.4: Bison Options[^]
This is the same as --defines except -d does not accept a file argument since POSIX Yacc requires that -d can be bundled with other short options.

Pretend that %verbose was specified, i.e., write an extra output file containing verbose descriptions of the grammar and parser. See Decl Summary.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900