Skip to content

Commit

Permalink
fix: enforce trailing comma in parameter list for grammar rules
Browse files Browse the repository at this point in the history
  • Loading branch information
MahtabNorouzi committed Sep 17, 2024
1 parent 1c22e64 commit 41c6292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quint/src/generated/Quint.g4
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ declaration : 'const' qualId ':' type # const
operDef
: qualifier normalCallName
// Fully-annotated parameter list with at least one parameter
'(' (annotOperParam+=annotatedParameter (',' annotOperParam+=annotatedParameter)*) ')'
'(' (annotOperParam+=annotatedParameter (',' annotOperParam+=annotatedParameter)*)','')'
// Mandatory annotation for return type
':' type
// We support header declaration with no implementation for documentation genaration
Expand Down

0 comments on commit 41c6292

Please sign in to comment.