From 0890fd790dc4d7d0e4ce4d7773104a7babbff124 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 8 Jan 2005 01:42:08 +0000 Subject: [PATCH] [project @ 2005-01-08 01:42:08 by jmb] Fix parsing of multiple occurrences of S Fix parsing of blocks (missing ws after any) svn path=/import/netsurf/; revision=1436 --- css/parser.y | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/css/parser.y b/css/parser.y index 9d4c17172..32098437a 100644 --- a/css/parser.y +++ b/css/parser.y @@ -35,6 +35,7 @@ ws ::= . ws ::= ws_1. ws_1 ::= S. +ws_1 ::= ws_1 S. statement_list ::= . statement_list ::= statement_list statement. @@ -52,7 +53,7 @@ at_rule ::= ATKEYWORD(A) ws any_list(B) SEMI ws. block ::= LBRACE ws block_body RBRACE ws. block_body ::= . -block_body ::= block_body any. +block_body ::= block_body any ws. block_body ::= block_body block. block_body ::= block_body ATKEYWORD ws. block_body ::= block_body SEMI ws.