Re: %union errors

2008-12-05 Thread Vukki Starborn
May be your structures were defined in namespace? Or this may be some kind of include guards fail. General way to solve this: examine generated by bison code. If it would be seem ok, you can produce preprocessed code from it by running your compiler with special options ( -E for gcc). There you mus

%union errors

2008-12-05 Thread Benny Hardage
Hello, I'm receiving the following errors when I compile: In file included from compiler.l:17: parser.y:27: error: ISO C++ forbids declaration of 'list' with no type parser.y:27: error: invalid use of '::' parser.y:27: error: expected ';' before '<' token parser.y:28: error: ISO C++ forbids decla