[cfe-dev] Pre-processing assembly sources
Joerg Sonnenberger via cfe-dev
cfe-dev at lists.llvm.org
Thu Aug 4 09:56:23 PDT 2016
On Fri, Jul 29, 2016 at 11:32:10AM +0100, Martin J. O'Riordan via cfe-dev wrote:
> Using the C pre-processor for maintaining assembly source files is really
> useful, but which ISO C Standard pre-processor is selected when
> pre-processing files with the extension '.S'?
Actually, it isn't exactly ISO C. The language mode is called
assembler-with-cpp and it has a bunch of explicit changes from normal
CPP rules. For example, it silently accepts certain tokenisation errors.
Joerg
More information about the cfe-dev
mailing list