I'm really new to lex/yacc/bison and parsers in general.
I created lex and yacc files (not sure if the programs themselves are relevant here), then compiled with the following commands in Terminal on my Mac:
lex lexer.l
yacc -d example.y
cc lex.yy.c y.tab.c -o example
Which made example.y disappear from my computer, and replaced it with y.tab.c and y.tab.h, and lex.yy.c also showed up though lexer.l was still there.
But I did not have any a.out or anything like that to run.
So I edited lexer.l and compiled it again.
Now lex.yy.c has disappeared and Terminal tells me:
lexer.l:53: name defined twice
I want to decompile the lexer.l file and make everything semi normal again! Halp!
Thanks in advance everybody!!!