Skip to content

Commit eedcb84

Browse files
author
Andrin Meier
committed
add clarifying comment
1 parent edf17cc commit eedcb84

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Rubberduck.Parsing/Grammar/VBAParser.g4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,7 @@ visibility : PRIVATE | PUBLIC | FRIEND | GLOBAL;
520520

521521
// 5.6 Expressions
522522
expression :
523+
// Literal Expression has to come before lExpression, otherwise it'll be classified as simple name expression instead.
523524
literalExpression # literalExpr
524525
| lExpression # lExpr
525526
| builtInType # builtInTypeExpr

0 commit comments

Comments
 (0)