diff options
author | sanine <sanine.not@pm.me> | 2023-01-18 13:18:13 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-01-18 13:18:13 -0600 |
commit | 3409a7dbe08bdc98d7663e5dcafaee5792d12139 (patch) | |
tree | 29776d59a8f9417f426e027a7397403a68811232 /yy/kalmia.y | |
parent | 9e19578675d8ad6a7c252e884b26e61ab9159b4a (diff) |
working prefixes
Diffstat (limited to 'yy/kalmia.y')
-rw-r--r-- | yy/kalmia.y | 5 |
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: |