changeset 1036:bfda92d18f03

properly skip ';' after @import directive
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Wed, 08 Apr 2009 21:37:48 +0200
parents 474b9814a8fa
children a72e5506e280
files src/cssparser.cc
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/cssparser.cc	Wed Apr 08 16:33:02 2009 +0200
+++ b/src/cssparser.cc	Wed Apr 08 21:37:48 2009 +0200
@@ -1257,6 +1257,8 @@
             (ttype == CSS_TK_CHAR && (tval[0] == ';'))))
          nextToken();
 
+      nextToken();
+
       if (urlStr) {
          MSG("CssParser::parseImport(): @import %s\n", urlStr);
          DilloUrl *url = a_Html_url_new (html, urlStr, a_Url_str(baseUrl), baseUrl ? 1 : 0);