diff options
Diffstat (limited to 'dimension/grammar.rules')
-rw-r--r-- | dimension/grammar.rules | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dimension/grammar.rules b/dimension/grammar.rules index 5f08e20..148e082 100644 --- a/dimension/grammar.rules +++ b/dimension/grammar.rules @@ -55,7 +55,10 @@ GLOBAL_SETTINGS_ITEMS: /* empty */ { } ; -GLOBAL_SETTINGS_ITEM: "ambient_light" COLOR { +GLOBAL_SETTINGS_ITEM: "adc_bailout" FLOAT { + $$ = dmnsn_new_astnode1(DMNSN_AST_ADC_BAILOUT, @$, $2); + } + | "ambient_light" COLOR { $$ = dmnsn_new_astnode1(DMNSN_AST_AMBIENT, @$, $2); } | "assumed_gamma" FLOAT { |