Skip to content

Commit f4ce08d

Browse files
committed
[css2] Changed rule for pseudo so that it is LL(1)
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401679
1 parent 683736b commit f4ce08d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

css2/grammar.src

+2-3
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.17 1998-05-08 16:31:25 bbos Exp $ -->
3+
<!-- $Id: grammar.src,v 2.18 1998-05-08 17:56:17 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Appendix D: The grammar of CSS2</TITLE>
@@ -108,8 +108,7 @@ attrib
108108
[ IDENT | STRING ] S* ]? ']'
109109
;
110110
pseudo
111-
: ':' IDENT
112-
| ':' FUNCTION S* IDENT S* ')'
111+
: ':' [ IDENT | FUNCTION S* IDENT S* ')' ]
113112
;
114113
declaration
115114
: property ':' S* expr prio?

0 commit comments

Comments
 (0)