On 11/02/11 01:21, Vol Litwr wrote: > It is much better to put generated > code of yyparse to the end of text... Does it conflict with POSIX?
No, but reordering code has its own problems. It's more intuitive to have the output in the same order as the input. For example, suppose an action defines a macro? If code is reordered, one can't necessarily use the macro after defining it. If you dislike define-before-use, then your real problem is with C or C++, not with Bison.
