help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patches?


From: Matthew Bellantoni
Subject: Patches?
Date: Thu, 2 Jan 2003 18:37:49 -0500

Hello,

Do you accept patches for flex?  I have made a fix for a problem I had
here and wanted to contribute the change.

Specifically, I get the following warning messages when I create a C++
FlexLexer and use yy_push_state() and yy_pop_state():

Lexer.cxx:672: warning: `int yy_start_stack_ptr' defined but not used
Lexer.cxx:673: warning: `int yy_start_stack_depth' defined but not
   used
Lexer.cxx:674: warning: `int*yy_start_stack' defined but not used
Lexer.cxx:676: warning: `void yy_push_state(int)' declared `static'
   but never defined
Lexer.cxx:679: warning: `void yy_pop_state()' declared `static' but
   never defined
Lexer.cxx:682: warning: `int yy_top_state()' declared `static' but
   never defined

I have made the fix based on version 2.5.25 and it passes the regression
suite included in that distribution.  Let me know if you are interested
and if so how I should get the change to you.  Hope you had pleasant
holidays. 

Regards,

-m

---
Matthew Bellantoni
Corporate Applications
Carbon Design Systems, Inc.

address@hidden
p: 781 890-1500 x209
c: 617 620-6316




reply via email to

[Prev in Thread] Current Thread [Next in Thread]