There are a lot of global symbols running around in dx and due to some restrictions of shared libraries on some platforms, I need to initialize the global variables. No problem, just initialize where declared--until I get to the grammar and bison output. After bison generates the .c file, the globals of yylex, etc. are undefined. Anybody got a bright idea of how define these without hand editing the generated .c files? How about making the grammar re-entrant, this would get rid of the global variables but I think would require that we use bison instead of generic yaccs. For now, I'm going to edit .c files but I'd really like to see this fixed programmatically. Please comment.

David
--
.............................................................................
David L. Thompson                   Visualization and Imagery Solutions, Inc.
mailto:[EMAIL PROTECTED]    5515 Skyway Drive, Missoula, MT 59804
                                    Phone : (406)257-8530

Reply via email to