Hello, I'm updating my scripting language and I need some help from someone more experienced with bison who would like to have a look at my grammar. As it is now it works fine, but I just want to make sure I didn't do any bad things in there. Or if there's a way to "optimize" it, make the result smaller, faster, etc...
Here are the links for the flex and bison files: http://www.simion.co.uk/tmp/gslexer.l http://www.simion.co.uk/tmp/gsparser.y I have some "shift/reduce conflicts" and I wonder if I must fix them or just use the %expect option to silence the warning. Also I wonder about reporting the parser error. I get the line number but it doesn't always say a suggestive message, like missing ';' or missing '}'. For example when I have an error in the top level it says: "parse error, expecting '$". I'm not sure where this came from and how can I get a better message. Any help is greatly appreciated. Thanks a lot! Alex -- View this message in context: http://www.nabble.com/Advice-needed%2C-please-tp23904486p23904486.html Sent from the Gnu - Bison - Help mailing list archive at Nabble.com. _______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison