X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fcss.l;h=5597d8630bd7af2b2c817d810a3e4e0323ca58b9;hp=59f8cbb91ab032ef0f43be33c5115d89e67b3e14;hb=HEAD;hpb=4f53c20e27f4e6db75aef4c7ea2812330d48017c diff --git a/src/css.l b/src/css.l index 59f8cbb9..5597d863 100644 --- a/src/css.l +++ b/src/css.l @@ -1,11 +1,12 @@ %option case-insensitive %option noyywrap %option never-interactive +%option nounput %{ /* Lex source for CSS tokenizing. Taken from http://www.w3.org/TR/CSS21/grammar.html#q2 - Copyright (C) 2006, 2009 Free Software Foundation, Inc. + Copyright (C) 2006, 2009, 2010, 2011 Free Software Foundation, Inc. This file is part of GNU Wget. @@ -33,10 +34,10 @@ 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 "css-tokens.h" -/* {s}+\/\*[^*]*\*+([^/*][^*]*\*+)*\/ {unput(' '); } */ -/*replace by space*/ %} h [0-9a-f]