aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cljcc/parser.clj8
-rw-r--r--src/cljcc/token.clj2
2 files changed, 2 insertions, 8 deletions
diff --git a/src/cljcc/parser.clj b/src/cljcc/parser.clj
index 3342f43..3addc4c 100644
--- a/src/cljcc/parser.clj
+++ b/src/cljcc/parser.clj
@@ -402,12 +402,4 @@
(comment
- (pp/pprint (parse-from-src "
-int main(void) {
-if (1 < 0) {
-int x = 1;
-}
-}
- "))
-
())
diff --git a/src/cljcc/token.clj b/src/cljcc/token.clj
index fc62334..cc09881 100644
--- a/src/cljcc/token.clj
+++ b/src/cljcc/token.clj
@@ -183,6 +183,8 @@
"for" :kw-for
"break" :kw-break
"continue" :kw-continue
+ "static" :kw-static
+ "extern" :kw-extern
:identifier))
(defn create