diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-07-09 23:18:16 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-07-09 23:20:00 +0200 |
commit | deee127a0e7d1803436033ff40d62f9bdf478c35 (patch) | |
tree | a315364bb5767fbda13776d6454f862871a07bc2 /module/c/cpp-environment.scm | |
parent | Merge typecheck macro into c-parser. (diff) | |
download | calp-deee127a0e7d1803436033ff40d62f9bdf478c35.tar.gz calp-deee127a0e7d1803436033ff40d62f9bdf478c35.tar.xz |
Extend type-clauses with not.
Diffstat (limited to 'module/c/cpp-environment.scm')
-rw-r--r-- | module/c/cpp-environment.scm | 2 |
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)))) |