Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #1878
| From | Hans-Peter Diettrich <DrDiettrich1@netscape.net> |
|---|---|
| Newsgroups | comp.compilers |
| Subject | C99 translation phases |
| Date | 2017-05-25 13:09 +0200 |
| Organization | Compilers Central |
| Message-ID | <17-05-011@comp.compilers> (permalink) |
The standard specifies translation phase 4 as: "Preprocessing directives are executed, macro invocations are expanded, and _Pragma unary operator expressions are executed. ..." Does this mean a strict sequence of these actions? At least this example seems to suggest a specific sequence: EXAMPLE In: #define EMPTY EMPTY # include <file.h> the sequence of preprocessing tokens on the second line is not a preprocessing directive, because it does not begin with a # at the start of translation phase 4, even though it will do so after the macro EMPTY has been replaced. DoDi
Back to comp.compilers | Previous | Next — Next in thread | Find similar | Unroll thread
C99 translation phases Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2017-05-25 13:09 +0200 Re: C99 translation phases Kaz Kylheku <686-678-9105@kylheku.com> - 2017-05-25 19:03 +0000
csiph-web