diff options
Diffstat (limited to '3rdparty/libconfig/extra/gen')
-rw-r--r-- | 3rdparty/libconfig/extra/gen/grammar.y | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/3rdparty/libconfig/extra/gen/grammar.y b/3rdparty/libconfig/extra/gen/grammar.y index 576241c01..026547a17 100644 --- a/3rdparty/libconfig/extra/gen/grammar.y +++ b/3rdparty/libconfig/extra/gen/grammar.y @@ -354,9 +354,13 @@ simple_value: } ; -value_list: +value_list_sub: value - | value_list TOK_COMMA value + | value_list_sub TOK_COMMA value + ; + +value_list: + value_list_sub comma_optional ; value_list_optional: |