commit - 25f5824b25256a8e9cc7425c740dbfccd8fbb8fb
commit + 0a53787c0b2835570a2f146eb76d83df8ab6fc17
blob - 7b370f2af6c304f69bfc65c114edfa3638cd43cd
blob + 31f1b5fae40868d242254fc489b0eb708d611910
--- parse.y
+++ parse.y
stylespec : styleopt | '{' styleopts '}' ;
styleopts : /* empty */
- | styleopts '\n'
- | styleopts styleopt '\n'
+ | styleopts optnl
+ | styleopts styleopt optnl
;
styleopt : TPRFX TSTRING { setprfx($2, $2); }
;
proxy : TPROXY TSTRING TVIA TSTRING { add_proxy($2, $4); free($4); }
+ ;
+
+optnl : '\n' optnl /* zero or more newlines */
+ | /* empty */
;
%%