diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-07-23 21:42:19 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-08-18 16:38:37 +0200 |
commit | 39a878d1130bd33d7d1b1380617747187e01fb73 (patch) | |
tree | 5ea885ebe8eac148c6967fa7a24f6821ca24a8de /tests/test/cpp/preprocessor2.scm | |
parent | Rewrote H-string tests to be what they should. (diff) | |
download | calp-39a878d1130bd33d7d1b1380617747187e01fb73.tar.gz calp-39a878d1130bd33d7d1b1380617747187e01fb73.tar.xz |
Only parse h-strings where applicable.
Diffstat (limited to 'tests/test/cpp/preprocessor2.scm')
-rw-r--r-- | tests/test/cpp/preprocessor2.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test/cpp/preprocessor2.scm b/tests/test/cpp/preprocessor2.scm index fd18ddce..be5ba94c 100644 --- a/tests/test/cpp/preprocessor2.scm +++ b/tests/test/cpp/preprocessor2.scm @@ -591,7 +591,7 @@ (test-equal "H-string" "/usr/include/stdio.h" (resolve-header (make-environment) - (lex "<stdio.h>"))) + (cddr (lex "#include <stdio.h>")))) (test-equal "Q-string" "/usr/include/stdio.h" (resolve-header (make-environment) |