Skip to content

Commit 3d52969

Browse files
committed
[css2] Added MEDIA_SYM to scanner
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40306
1 parent c42dcfa commit 3d52969

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

css2/grammar.src

Lines changed: 2 additions & 1 deletion
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 1.12 1997-10-28 23:33:31 bbos Exp $ -->
3+
<!-- $Id: grammar.src,v 1.13 1997-10-29 21:53:04 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>
@@ -179,6 +179,7 @@ string \"({stringchar}|\')*\"|\'({stringchar}|\")*\'
179179
&lt;COMMENT&gt;\n {/* ignore */}
180180
&lt;COMMENT&gt;. {/* ignore */}
181181
@import {BEGIN(0); return IMPORT_SYM;}
182+
@media {BEGIN(0); return MEDIA_SYM;}
182183
"!"{w}important {BEGIN(0); return IMPORTANT_SYM;}
183184
{ident} {BEGIN(AFTER_IDENT); return IDENT;}
184185
{string} {BEGIN(0); return STRING;}

0 commit comments

Comments
 (0)