]> sjero.net Git - wget/commitdiff
Remove some unused variables.
authorGiuseppe Scrivano <gscrivano@gnu.org>
Mon, 31 May 2010 20:58:56 +0000 (22:58 +0200)
committerGiuseppe Scrivano <gscrivano@gnu.org>
Mon, 31 May 2010 20:58:56 +0000 (22:58 +0200)
src/ChangeLog
src/css.l

index f91a2f56a6541f2258c4012a6d8e830bb45d1139..449d24d7f60f5755bbfbbb5844a868124dc25456 100644 (file)
@@ -1,3 +1,8 @@
+2010-05-31  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * css.l: Use option "nounput".
+       (YY_NO_INPUT): Add macro definition.
+
 2010-05-31  Giuseppe Scrivano  <gscrivano@gnu.org>
 
        * html-parse.c (map_html_tags): Fix condition for closed tag.  Handle
index 3db668ce888720c815c9fc6d8129c8e28f8cf2fb..8645d6b8d9dcf75bf37db5603c8774a2ac941d6b 100644 (file)
--- a/src/css.l
+++ b/src/css.l
@@ -1,6 +1,7 @@
 %option case-insensitive
 %option noyywrap
 %option never-interactive
+%option nounput
 
 %{
 /* Lex source for CSS tokenizing.
@@ -33,11 +34,11 @@ Corresponding Source for a non-source form of such a combination
 shall include the source code for the parts of OpenSSL used as well
 as that of the covered work.  */
 
+#define YY_NO_INPUT
+
 #include "wget.h"
 #include "css-tokens.h"
 
-/* {s}+\/\*[^*]*\*+([^/*][^*]*\*+)*\/      {unput(' '); } */
-/*replace by space*/
 %}
 
 h               [0-9a-f]