34.2. Source Pre-Processing
Prev | Chapter 34. The source files of CLISP | Next

## 34.2. Source Pre-Processing

C sources are pre-processed with the following tools before being passed to the C compiler:

`utils/comment5.c`

  Convert /bin/sh-style comments (lines starting with `"# "`) to C-style comments (`/**/`).

  ### Warning

  The use of /bin/sh-style comments is deprecated.

`utils/varbrace.d`
  Add braces to C source code, so that variable declarations (introduced with the pseudo-keyword `var`) can be used within blocks, like in C++ and C99.
`utils/ccpaux.c`
  When cpp cannot handle indented directives, remove the indentation.
`utils/gctrigger.d`
  Add `GCTRIGGER` statements at the head of function bodies (for functions marked with the `maygc` pseudo-keyword).
`utils/deema.c`
  When cpp cannot handle empty macro arguments, insert `_EMA_` instead.
`utils/ccmp2c.c`
  For the `clx/new-clx` module only. Allows cpp-style preprocessing before modprep processing. Should be merged into modprep eventually.
`utils/modprep.lisp`
  For some modules only, see Section 32.2.7.1, “Modprep”.

| These notes document CLISP version 2.45 | Last modified: 2008-05-14

Enter your search termsSubmit search form
Webclisp.cons.orgclisp.podval.orgwww.lisp.org

Prev | Up | Next
34.1. File Types | Home | 34.3. Files