Add background grammar rule

This commit is contained in:
josh committed 2026-11-01 13:17:32 -05:00
1 parent d761433382
commit 7eaf5f9555
1 file changed
+9 -7
+9 -7
View File
@@ -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;