bugSimulavr: an AVR simulator - Bugs: bug #23073, input defined but not used in lexer

 
 

bug #23073: input defined but not used in lexer

Submitter:  None
Submitted:  Sun 27 Apr 2008 05:03:24 AM UTC
   
 
Category:  Simulation Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  joerg_wunsch
Originator Email:  * -email is unavailable- Open/Closed:  Closed
Component Version:  * None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 27 Apr 2008 05:03:24 AM UTC, original submission:  

When building the lexer (flex 2.5.31, gcc 4.3.0) I receive a fatal compiler warning "`input' defined but not used".  This patch corrects the problem:

diff -u -r1.4 config_scanner.l
--- src/disp-vcd/config_scanner.l       26 Feb 2004 07:33:34 -0000      1.4
+++ src/disp-vcd/config_scanner.l       27 Apr 2008 05:01:25 -0000
@@ -34,6 +34,7 @@
 %}

 %option noyywrap
+%option noinput
 %option nounput

 %%

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Updated the item)
  • -email is unavailable- added by zfrdh (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-02-24 joerg_wunsch StatusNone Fixed
        Open/ClosedOpen Closed
    2009-02-24 zfrdh Assigned toNone joerg_wunsch

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code