diff options
| author | Shagun Agrawal <agrawalshagun07@gmail.com> | 2024-12-16 20:11:01 +0530 |
|---|---|---|
| committer | Shagun Agrawal <agrawalshagun07@gmail.com> | 2024-12-16 20:11:01 +0530 |
| commit | ab47567cde2c0307042118684305c9ad5871f787 (patch) | |
| tree | a903307e5bd963a91c143a84da0d0aea6b7198db /src/cljcc/token.clj | |
| parent | 90b8a837789eb99c44bcea9abee53012f2df71a4 (diff) | |
Add parsing for unsigned / signed int, long
Diffstat (limited to 'src/cljcc/token.clj')
| -rw-r--r-- | src/cljcc/token.clj | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
