diff --git a/Parser.pas b/Parser.pas index 7fd1956..4ed9c30 100644 --- a/Parser.pas +++ b/Parser.pas @@ -2821,6 +2821,9 @@ case token.kind of begin done := false; NextToken; + {kws -- allow trailing , in enum } + { C99 6.7.2.2 Enumeration specifiers } + if token.kind = rbracech then done := true; end {if} else done := true;