simulavr-devel
[Top][All Lists]
Advanced

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

[Simulavr-devel] [bug #23073] input defined but not used in lexer


From: anonymous
Subject: [Simulavr-devel] [bug #23073] input defined but not used in lexer
Date: Sun, 27 Apr 2008 05:03:26 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0

URL:
  <http://savannah.nongnu.org/bugs/?23073>

                 Summary: input defined but not used in lexer
                 Project: Simulavr: an AVR simulator
            Submitted by: None
            Submitted on: Sunday 04/27/2008 at 05:03 UTC
                Category: Simulation
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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

 %%





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?23073>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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