Skip to content

Commit 773255f

Browse files
committed
Allow multiple vars assignment in single line declaration
1 parent b358050 commit 773255f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

UnrealAngelscriptParser/Grammar/UnrealAngelscriptParser.g4

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,10 @@ memberdeclaration:
495495
| accessDeclaration;
496496

497497
propertyDefinition:
498-
uproperty? (accessSpecifier | accessPattern)? Default? declSpecifierSeq? (memberDeclaratorList | assignmentExpression)? Semi;
498+
uproperty? (accessSpecifier | accessPattern)? Default? declSpecifierSeq? (memberDeclaratorList | assignmentList)? Semi;
499+
500+
assignmentList:
501+
assignmentExpression (Comma assignmentExpression)*;
499502

500503
memberDeclaratorList:
501504
memberDeclarator (Comma memberDeclarator)*;

0 commit comments

Comments
 (0)