From e0c25f7a5f36a6b36d35af97a07b154727add543 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Mon, 31 May 2010 22:58:56 +0200 Subject: [PATCH] Remove some unused variables. --- src/ChangeLog | 5 +++++ src/css.l | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index f91a2f56..449d24d7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-05-31 Giuseppe Scrivano + + * css.l: Use option "nounput". + (YY_NO_INPUT): Add macro definition. + 2010-05-31 Giuseppe Scrivano * html-parse.c (map_html_tags): Fix condition for closed tag. Handle diff --git a/src/css.l b/src/css.l index 3db668ce..8645d6b8 100644 --- 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] -- 2.39.2