Guess I didn't know this. I was going from the flex documentation. I
will see what I can do.
David
Moi!
On Wed, Jul 02, 2003 at 12:05:47PM -0400, [EMAIL PROTECTED] wrote:
Log Message:
A fix for dealing with yylineno and dealing with lex vs flex.
--- dx/src/uipp/dxuilib/Network.C:1.21.2.7 Wed Mar 12 12:25:10 2003
+++ dx/src/uipp/dxuilib/Network.C Wed Jul 2 12:05:47 2003
@@ -1206,8 +1206,8 @@
-#if defined(USING_BISON)
-int yylineno;
+#if defined(USING_FLEX)
+int yylineno; /* flex line number */
Unfortunately it's not that easy. I'm using flex version 2.5.31 here,
and it already defines yylineno itself. Haven't figured out so far at
which version this has changed. How about checking explicitly for this
feature?
Regards,
Daniel.
--
.............................................................................
David L. Thompson Visualization and Imagery Solutions, Inc.
mailto:[EMAIL PROTECTED] 5515 Skyway Drive, Missoula, MT 59804
Phone : (406)756-7472