summaryrefslogtreecommitdiff
path: root/yy/kalmia.y
diff options
context:
space:
mode:
Diffstat (limited to 'yy/kalmia.y')
-rw-r--r--yy/kalmia.y5
1 files changed, 3 insertions, 2 deletions
diff --git a/yy/kalmia.y b/yy/kalmia.y
index 78bf895..f1d77f9 100644
--- a/yy/kalmia.y
+++ b/yy/kalmia.y
@@ -1,4 +1,5 @@
%define api.pure full
+%define api.prefix {kalmia}
%locations
%define parse.error verbose
%param { yyscan_t scanner }
@@ -77,8 +78,8 @@ attribute:
integers:
- INTEGER { printf("%d\n", $1); }
- | integers INTEGER { printf("%d\n", $2); }
+ INTEGER { printf("%ld\n", $1); }
+ | integers INTEGER { printf("%ld\n", $2); }
;
doubles: