File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
UnrealAngelscriptParser/Grammar Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ UFunction: 'UFUNCTION';
4646
4747UEnum: ' UENUM ' ;
4848
49+ UMeta: ' UMETA ' ;
50+
4951Import: ' import' ;
5052
5153From: ' from' ;
Original file line number Diff line number Diff line change @@ -44,6 +44,9 @@ annotation:
4444uenum :
4545 UEnum LeftParen annotationList? RightParen;
4646
47+ umeta :
48+ UMeta LeftParen annotationList? RightParen;
49+
4750utype :
4851 (UClass | UStruct) LeftParen annotationList? RightParen;
4952
@@ -382,7 +385,7 @@ enumbase: Colon typeSpecifierSeq;
382385enumeratorList :
383386 enumeratorDefinition (Comma enumeratorDefinition)*;
384387
385- enumeratorDefinition : enumerator (Assign constantExpression)?;
388+ enumeratorDefinition : enumerator (Assign constantExpression)? umeta? ;
386389
387390enumerator : Identifier;
388391
You can’t perform that action at this time.
0 commit comments