Commit 96b12d0d authored by Daan Vreeken's avatar Daan Vreeken
Browse files

First commit to the yacc code. Allow all braced blocks to be empty. This

allows us to e.g. comment out all parameter lines in a parameter block.
(Commenting out all parameters would fail before.)

	modified:   controller/controller_load_parser.y
parent f63094da
......@@ -145,6 +145,7 @@ aliases: ALIASSYM BRACEOPENSYM aliaslist BRACECLOSESYM
aliaslist: alias
| alias aliaslist
|
;
alias: BRACEOPENSYM
......@@ -161,6 +162,7 @@ triggers: TRIGGERSYM BRACEOPENSYM triggerlist BRACECLOSESYM
triggerlist: trigger
| trigger triggerlist
|
;
trigger : BRACEOPENSYM
......@@ -192,6 +194,7 @@ blocklist: block
| module
| block blocklist
| module blocklist
|
;
block : BRACEOPENSYM
......@@ -267,6 +270,7 @@ params : PARAMSSYM BRACEOPENSYM paramlist BRACECLOSESYM
paramlist: param
| param paramlist
|
;
param : BRACEOPENSYM
......@@ -406,6 +410,7 @@ links : LINKSSYM BRACEOPENSYM linklist BRACECLOSESYM
linklist: link
| link linklist
|
;
link : BRACEOPENSYM
......@@ -479,6 +484,7 @@ traces : TRACESSYM BRACEOPENSYM tracelist BRACECLOSESYM
tracelist: trace
| trace tracelist
|
;
trace : BRACEOPENSYM
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment