aboutsummaryrefslogtreecommitdiff
path: root/module/c/cpp.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-06-30 07:07:59 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-07-07 21:17:22 +0200
commit85bb810edc083b0bcc08f76e22d51d1555dc828d (patch)
tree7f686666507e0c97546c98ae9c1da408abddf16f /module/c/cpp.scm
parentC parser minor cleanup. (diff)
downloadcalp-85bb810edc083b0bcc08f76e22d51d1555dc828d.tar.gz
calp-85bb810edc083b0bcc08f76e22d51d1555dc828d.tar.xz
Add basic c evaluator.
Diffstat (limited to 'module/c/cpp.scm')
-rw-r--r--module/c/cpp.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/c/cpp.scm b/module/c/cpp.scm
index 861b8ee2..aed496f2 100644
--- a/module/c/cpp.scm
+++ b/module/c/cpp.scm
@@ -137,7 +137,7 @@
(define graph* (load-cpp-file header-file))
;; Hack for termios since this symbol isn't defined.
;; (including in the above removed private c symbols)
- (define graph (add-node graph* (cons '_POSIX_VDISABLE #f) '()))
+ (define graph (add-node graph* (cons '_POSIX_VDISABLE 0) '()))
;; TODO expand bodies
;; (remove (compose private-c-symbol? car))
(resolve-dependency-graph graph))