Skip to content

Commit b27211f

Browse files
committed
[css2] Undone issue 147 and instead added {comments} between ! and importan.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402461
1 parent 6d20fd7 commit b27211f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

css2/grammar.src

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: grammar.src,v 2.45 2006-04-06 21:32:24 bbos Exp $ -->
3+
<!-- $Id: grammar.src,v 2.46 2006-05-09 14:09:23 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Grammar of CSS&nbsp;2.1</TITLE>
@@ -165,7 +165,7 @@ string {string1}|{string2}
165165
invalid {invalid1}|{invalid2}
166166
url ([!#$%&amp;*-~]|{nonascii}|{escape})*
167167
s [ \t\r\n\f]
168-
w ({s}|{comment})*
168+
w {s}*
169169
nl \n|\r\n|\r|\f
170170

171171
A a|\\0{0,4}(41|61)(\r\n|[ \t\r\n\f])?
@@ -214,7 +214,7 @@ Z z|\\0{0,4}(5a|7a)(\r\n|[ \t\r\n\f])?|\\z
214214
"@media" {return MEDIA_SYM;}
215215
"@charset " {return CHARSET_SYM;}
216216

217-
"!"{w}"important" {return IMPORTANT_SYM;}
217+
"!"({w}|{comment})*"important" {return IMPORTANT_SYM;}
218218

219219
{num}{E}{M} {return EMS;}
220220
{num}{E}{X} {return EXS;}

0 commit comments

Comments
 (0)