]> sjero.net Git - wget/blobdiff - src/css.l
Fix build when libpsl is not available
[wget] / src / css.l
index 59f8cbb91ab032ef0f43be33c5115d89e67b3e14..5597d8630bd7af2b2c817d810a3e4e0323ca58b9 100644 (file)
--- 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]