From ab47567cde2c0307042118684305c9ad5871f787 Mon Sep 17 00:00:00 2001 From: Shagun Agrawal Date: Mon, 16 Dec 2024 20:11:01 +0530 Subject: Add parsing for unsigned / signed int, long --- src/cljcc/token.clj | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/cljcc/token.clj') diff --git a/src/cljcc/token.clj b/src/cljcc/token.clj index 6796c0b..3d08010 100644 --- a/src/cljcc/token.clj +++ b/src/cljcc/token.clj @@ -207,6 +207,12 @@ "unsigned" :kw-unsigned :identifier)) +(def type-specifier-keywords + #{:kw-int :kw-long :kw-signed :kw-unsigned}) + +(def storage-specifier-keywords + #{:kw-static :kw-extern}) + (defn create ([kind line col] {:kind kind -- cgit v1.2.3