Fixed accidental lower-casing of constants
This commit is contained in:
parent
6694a4a875
commit
adf8f09c7d
14
D.g4
14
D.g4
|
@ -525,9 +525,9 @@ primaryExpression: identifierOrTemplateInstance
|
||||||
| 'null'
|
| 'null'
|
||||||
| 'true'
|
| 'true'
|
||||||
| 'false'
|
| 'false'
|
||||||
| '__file__'
|
| '__FILE__'
|
||||||
| '__module__'
|
| '__MODULE__'
|
||||||
| '__line__'
|
| '__LINE__'
|
||||||
| '__FUNCTION__'
|
| '__FUNCTION__'
|
||||||
| '__PRETTY_FUNCTION__'
|
| '__PRETTY_FUNCTION__'
|
||||||
| IntegerLiteral
|
| IntegerLiteral
|
||||||
|
@ -577,7 +577,7 @@ templateValueParameter: type Identifier templateValueParameterSpecialization? te
|
||||||
templateValueParameterSpecialization: ':' expression
|
templateValueParameterSpecialization: ':' expression
|
||||||
;
|
;
|
||||||
|
|
||||||
templateValueParameterDefault: '=' ('__file__' | '__module__' | '__line__' | '__FUNCTION__' | '__PRETTY_FUNCTION__' | assignExpression)
|
templateValueParameterDefault: '=' ('__FILE__' | '__MODULE__' | '__LINE__' | '__FUNCTION__' | '__PRETTY_FUNCTION__' | assignExpression)
|
||||||
;
|
;
|
||||||
|
|
||||||
templateAliasParameter: 'alias' type? Identifier templatealiasparameterspecialization? templatealiasparameterdefault?
|
templateAliasParameter: 'alias' type? Identifier templatealiasparameterspecialization? templatealiasparameterdefault?
|
||||||
|
@ -836,9 +836,9 @@ parameter: parameterAttribute? type ('...' | (Identifier ('=' defaultInitializer
|
||||||
;
|
;
|
||||||
|
|
||||||
defaultInitializerExpression: assignExpression
|
defaultInitializerExpression: assignExpression
|
||||||
| '__file__'
|
| '__FILE__'
|
||||||
| '__module__'
|
| '__MODULE__'
|
||||||
| '__line__'
|
| '__LINE__'
|
||||||
| '__FUNCTION__'
|
| '__FUNCTION__'
|
||||||
| '__PRETTY_FUNCTION__'
|
| '__PRETTY_FUNCTION__'
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in New Issue