summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Components/ExpressionArray.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Components/ExpressionArray.php b/src/Components/ExpressionArray.php
index 5c84dcd..b05ccc1 100644
--- a/src/Components/ExpressionArray.php
+++ b/src/Components/ExpressionArray.php
@@ -70,6 +70,7 @@ class ExpressionArray extends Component
if (($token->type === Token::TYPE_KEYWORD)
&& ($token->flags & Token::FLAG_KEYWORD_RESERVED)
+ && ((~$token->flags & Token::FLAG_KEYWORD_FUNCTION))
&& ($token->value !== 'DUAL')
) {
// No keyword is expected.