Skip to content

Commit 15acd6b

Browse files
committed
[css2] Fixed error in lexer: "!{w}important" -> "!"{w}"important"
(Thanks to Lars Knoll <lars@trolltech.com>) --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402007
1 parent d877d0b commit 15acd6b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

css2/grammar.src

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: grammar.src,v 2.27 2003-01-10 23:08:58 bbos Exp $ -->
3+
<!-- $Id: grammar.src,v 2.28 2003-01-15 17:46:33 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Appendix: grammar of CSS&nbsp;2.1</TITLE>
@@ -186,7 +186,7 @@ range \?{1,6}|{h}(\?{0,5}|{h}(\?{0,4}|{h}(\?{0,3}|{h}(\?{0,2}|{h}(\??|{h})))))
186186
"@media" {return MEDIA_SYM;}
187187
"@charset" {return CHARSET_SYM;}
188188

189-
"!{w}important" {return IMPORTANT_SYM;}
189+
"!"{w}"important" {return IMPORTANT_SYM;}
190190

191191
{num}em {return EMS;}
192192
{num}ex {return EXS;}

0 commit comments

Comments
 (0)