aboutsummaryrefslogtreecommitdiff
path: root/src/parser.y
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-08-09 17:55:27 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-08-09 18:08:55 +0300
commit3af8485a1c638ce38c0e21d00791c423c5c9b8c2 (patch)
treec735b0dd6becf58d17ccb0d8483cac716b93b3ed /src/parser.y
parentb29d61c06c275a6c99e8ae56e860d439fba839d4 (diff)
downloadek-3af8485a1c638ce38c0e21d00791c423c5c9b8c2.tar.gz
ek-3af8485a1c638ce38c0e21d00791c423c5c9b8c2.zip
fix parameter count
Diffstat (limited to 'src/parser.y')
-rw-r--r--src/parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.y b/src/parser.y
index f4e6eb0..ca7226d 100644
--- a/src/parser.y
+++ b/src/parser.y
@@ -324,7 +324,7 @@ sign_decl
| sign_var_decl
rev_decls
- : decls "," param_decl { $$ = $3; $1->n = $1; }
+ : rev_decls "," param_decl { $$ = $3; $$->n = $1; }
| param_decl
decls