Add background grammar rule
This commit is contained in:
1 parent
d761433382
commit
7eaf5f9555
1 file changed
+9
-7
+9
-7
@@ -2,6 +2,7 @@ tree;
|
|||||||
|
|
||||||
drop /\s+/;
|
drop /\s+/;
|
||||||
|
|
||||||
|
token background;
|
||||||
token comma /,/;
|
token comma /,/;
|
||||||
token gt />/;
|
token gt />/;
|
||||||
token height;
|
token height;
|
||||||
@@ -15,20 +16,21 @@ token width;
|
|||||||
token uint /\d+/;
|
token uint /\d+/;
|
||||||
token number /-?\d+(\.\d+)?/;
|
token number /-?\d+(\.\d+)?/;
|
||||||
|
|
||||||
Start -> Options? Scene;
|
Start -> RenderParams Scene;
|
||||||
|
|
||||||
|
Background -> background Vector;
|
||||||
|
|
||||||
Height -> height uint;
|
Height -> height uint;
|
||||||
|
|
||||||
Number -> uint;
|
Number -> uint;
|
||||||
Number -> number;
|
Number -> number;
|
||||||
|
|
||||||
Options -> options lcurly OptionsItems rcurly;
|
RenderParams -> ;
|
||||||
|
RenderParams -> RenderParam RenderParams;
|
||||||
|
|
||||||
OptionsItems -> ;
|
RenderParam -> Background;
|
||||||
OptionsItems -> OptionsItem OptionsItems;
|
RenderParam -> Height;
|
||||||
|
RenderParam -> Width;
|
||||||
OptionsItem -> Height;
|
|
||||||
OptionsItem -> Width;
|
|
||||||
|
|
||||||
Scene -> scene lcurly SceneItems rcurly;
|
Scene -> scene lcurly SceneItems rcurly;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user