aboutsummaryrefslogtreecommitdiff
path: root/module/c
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-07-09 23:18:16 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-07-09 23:20:00 +0200
commitdeee127a0e7d1803436033ff40d62f9bdf478c35 (patch)
treea315364bb5767fbda13776d6454f862871a07bc2 /module/c
parentMerge typecheck macro into c-parser. (diff)
downloadcalp-deee127a0e7d1803436033ff40d62f9bdf478c35.tar.gz
calp-deee127a0e7d1803436033ff40d62f9bdf478c35.tar.xz
Extend type-clauses with not.
Diffstat (limited to 'module/c')
-rw-r--r--module/c/cpp-environment.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/c/cpp-environment.scm b/module/c/cpp-environment.scm
index d6c86f7a..51f16168 100644
--- a/module/c/cpp-environment.scm
+++ b/module/c/cpp-environment.scm
@@ -77,7 +77,7 @@
(cpp-if-status type: (list-of (memv '(outside active-if inactive-if)))
default: '(outside))
(cpp-variables type: hash-table? default: (make-hash-table))
- (cpp-file-stack type: (and ((negate null?))
+ (cpp-file-stack type: (and (not null?)
(list-of (pair-of string? exact-integer?)))
default: '(("*outside*" . 1))))