c: parse "#include "" directive
[cl-c.git] / trigraph.lisp
blob0171d1d2ee5489c5948f0ed8bf73384c5baa5f8b
1 (in-package "C")
3 (defvar *replace-trigraphs* nil
4 "If not NIL, replace trigraph sequences as described by C99 5.2.1.1 \"Trigraph sequences\".")
6 (defparameter *trigraph-mapping*
7 '((#\! . #\|)
8 (#\' . #\^)
9 (#\( . #\[)
10 (#\) . #\])
11 (#\- . #\~)
12 (#\/ . #\\)
13 (#\< . #\{)
14 (#\= . #\#)
15 (#\> . #\})))