diff options
Diffstat (limited to 'src/libexpr/parser.y')
-rw-r--r-- | src/libexpr/parser.y | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/parser.y b/src/libexpr/parser.y index bfd539a3f094..44d1e06abefa 100644 --- a/src/libexpr/parser.y +++ b/src/libexpr/parser.y @@ -54,6 +54,8 @@ expr: expr_function; expr_function : '{' formals '}' ':' expr_function { $$ = ATmake("Function(<term>, <term>)", $2, $5); } + | ID ':' expr_function + { $$ = ATmake("Function1(<term>, <term>)", $1, $3); } | expr_assert ; |