X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fcss.l;h=5597d8630bd7af2b2c817d810a3e4e0323ca58b9;hp=be777de22506c18c9631bbc6235960f3d81a4614;hb=HEAD;hpb=293008f682e5fa9726136bc121bceadc136c77dc diff --git a/src/css.l b/src/css.l index be777de2..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, 2010 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]