зеркало из https://github.com/github/codeql.git
Merge pull request #2791 from aibaars/language-spec-fixes
Fix a few typos in the QL grammar
This commit is contained in:
Коммит
09960e0a7d
|
@ -502,7 +502,7 @@ Identifiers are used in following syntactic constructs:
|
||||||
simpleId ::= lowerId | upperId
|
simpleId ::= lowerId | upperId
|
||||||
modulename ::= simpleId
|
modulename ::= simpleId
|
||||||
classname ::= upperId
|
classname ::= upperId
|
||||||
dbasetype ::= atlowerId
|
dbasetype ::= atLowerId
|
||||||
predicateRef ::= (moduleId "::")? literalId
|
predicateRef ::= (moduleId "::")? literalId
|
||||||
predicateName ::= lowerId
|
predicateName ::= lowerId
|
||||||
varname ::= simpleId
|
varname ::= simpleId
|
||||||
|
@ -1804,7 +1804,7 @@ The complete grammar for QL is as follows:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
ql ::= moduleBody ;
|
ql ::= moduleBody
|
||||||
|
|
||||||
module ::= annotation* "module" modulename "{" moduleBody "}"
|
module ::= annotation* "module" modulename "{" moduleBody "}"
|
||||||
|
|
||||||
|
@ -1976,11 +1976,11 @@ The complete grammar for QL is as follows:
|
||||||
|
|
||||||
simpleId ::= lowerId | upperId
|
simpleId ::= lowerId | upperId
|
||||||
|
|
||||||
modulename :: = simpleId
|
modulename ::= simpleId
|
||||||
|
|
||||||
classname ::= upperId
|
classname ::= upperId
|
||||||
|
|
||||||
dbasetype ::= atlowerId
|
dbasetype ::= atLowerId
|
||||||
|
|
||||||
predicateRef ::= (moduleId "::")? literalId
|
predicateRef ::= (moduleId "::")? literalId
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче