Commit Diff


commit - 25f5824b25256a8e9cc7425c740dbfccd8fbb8fb
commit + 0a53787c0b2835570a2f146eb76d83df8ab6fc17
blob - 7b370f2af6c304f69bfc65c114edfa3638cd43cd
blob + 31f1b5fae40868d242254fc489b0eb708d611910
--- parse.y
+++ parse.y
@@ -100,8 +100,8 @@ style		: TSTYLE TSTRING { current_style = $2; } styles
 stylespec	: styleopt | '{' styleopts '}' ;
 
 styleopts	: /* empty */
-		| styleopts '\n'
-		| styleopts styleopt '\n'
+		| styleopts optnl
+		| styleopts styleopt optnl
 		;
 
 styleopt	: TPRFX TSTRING		{ setprfx($2, $2); }
@@ -128,6 +128,10 @@ unbind		: TUNBIND TSTRING TSTRING	{ yyerror("TODO: unb
 		;
 
 proxy		: TPROXY TSTRING TVIA TSTRING { add_proxy($2, $4); free($4); }
+		;
+
+optnl		: '\n' optnl	/* zero or more newlines */
+		| /* empty */
 		;
 
 %%