You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/codeql/ql-language-reference/ql-language-specification.rst
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -374,7 +374,7 @@ A *variable declaration list* provides a sequence of variables and a type for ea
374
374
375
375
::
376
376
377
-
var_decls ::= var_decl ("," var_decl)*
377
+
var_decls ::= (var_decl ("," var_decl)*)?
378
378
var_decl ::= type simpleId
379
379
380
380
A valid variable declaration list must not include two declarations with the same variable name. Moreover, if the declaration has a typing environment that applies, it must not use a variable name that is already present in that typing environment.
@@ -820,7 +820,7 @@ The head of the predicate gives a name, an optional *result type*, and a sequenc
820
820
821
821
::
822
822
823
-
head ::= ("predicate" | type) predicateName "(" (var_decls)? ")"
823
+
head ::= ("predicate" | type) predicateName "(" var_decls ")"
824
824
825
825
The body of a predicate is of one of three forms:
826
826
@@ -1209,7 +1209,7 @@ An aggregation can be written in one of two forms:
0 commit comments