From 8a79e85992fdabe6d01d307e6b7ecfabf845ea5e Mon Sep 17 00:00:00 2001 From: Osama Alfakhouri Date: Tue, 31 Oct 2023 19:27:13 +0200 Subject: [PATCH] add comments --- src/syntax.grammar | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/syntax.grammar b/src/syntax.grammar index 6ff3a7e..759eb18 100644 --- a/src/syntax.grammar +++ b/src/syntax.grammar @@ -293,6 +293,9 @@ BasicExpression { BasicExpression !override ( op<"<++"> | op<"++>"> ) BasicExpression } +/* Application expressions are defined explicitly to highlight + * the BasicId in these expressions. + */ PartialApplicationExpression { BasicExpression !appl "[" NocommaParam? "]" | BasicExpression !appl "[" commaSep2 "]"