diff --git a/examples/.idea/misc.xml b/examples/.idea/misc.xml
index dfc122f5da0..acfed7b332c 100644
--- a/examples/.idea/misc.xml
+++ b/examples/.idea/misc.xml
@@ -23,6 +23,9 @@
+
+ http://www.w3.org/1999/xhtml
+
diff --git a/grammar/src/expressions.grm b/grammar/src/expressions.grm
index ed0c6054f16..fc64a858cec 100644
--- a/grammar/src/expressions.grm
+++ b/grammar/src/expressions.grm
@@ -106,8 +106,12 @@ postfixUnaryOperation
;
functionCall
- : SimpleName typeArguments valueArguments? functionLiteral?
- : SimpleName valueArguments functionLiteral?
+ : functionExpression typeArguments valueArguments? functionLiteral?
+ : functionExpression valueArguments functionLiteral?
+ ;
+
+functionExpression
+ : expression
;
typeArguments