linamh/net-libs/webkit-gtk/files/fix-bison-incompatibility.patch
geos_one 287d845699 add templates
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@707 6952d904-891a-0410-993b-d76249ca496b
2009-01-21 16:43:00 +00:00

23 lines
463 B
Diff

diff --git a/WebCore/css/CSSGrammar.y b/WebCore/css/CSSGrammar.y
index 9ee9c93..9d0a0c6 100644
--- a/WebCore/css/CSSGrammar.y
+++ b/WebCore/css/CSSGrammar.y
@@ -94,6 +94,8 @@ static int cssyylex(YYSTYPE* yylval, void* parser)
%expect 49
+%nonassoc LOWEST_PREC
+
%left UNIMPORTANT_TOK
%token WHITESPACE SGML_CD
@@ -349,7 +351,7 @@ maybe_charset:
closing_brace:
'}'
- | %prec maybe_sgml TOKEN_EOF
+ | %prec LOWEST_PREC TOKEN_EOF
;
charset: