Skip to content
Snippets Groups Projects
Commit 99e6291a authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1997-09-23 15:32:20 by simonm]

Add information on how to mix -cpp and string gaps.
parent c9e24437
No related merge requests found
......@@ -717,9 +717,23 @@ Options other than the above can be forced through to the C
pre-processor with the \tr{-opt} flags (see
\sectionref{forcing-options-through}).
A small word of warning: \tr{-cpp} is not friendly to
``string gaps''.\index{-cpp vs string gaps}\index{string gaps vs -cpp}
A small word of warning: \tr{-cpp} is not friendly to ``string
gaps''.\index{-cpp vs string gaps}\index{string gaps vs -cpp}. In
other words, strings such as the following:
\begin{verbatim}
strmod = "\
\ p \
\ "
\end{verbatim}
don't work with \tr{-cpp}; \tr{/usr/bin/cpp} elides the
backslash-newline pairs.
However, it appears that if you add a space at the end of the line,
then \tr{cpp} (at least GNU \tr{cpp} and possibly other \tr{cpp}s)
leaves the backslash-space pairs alone and the string gap works as
expected.
%************************************************************************
%* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment