1
0
mirror of https://github.com/danog/liquid.git synced 2024-11-30 04:19:50 +01:00

Apply @bendoerr's fix, in previous commit, to generated file's source

This commit is contained in:
Oliver Steele 2021-07-05 14:27:03 +08:00
parent c0ad3cec70
commit 55b3f39dc3

View File

@ -102,7 +102,7 @@ int_or_var:
| IDENTIFIER { name := $1; $$ = func(ctx Context) values.Value { return values.ValueOf(ctx.Get(name)) } }
;
loop_modifiers: /* empty */ { $$ = loopModifiers{Cols: math.MaxUint32} }
loop_modifiers: /* empty */ { $$ = loopModifiers{Cols: math.MaxInt32} }
| loop_modifiers IDENTIFIER {
switch $2 {
case "reversed":