C preprocessor: Difference between revisions

Content deleted Content added
No edit summary
Tags: Mobile edit Mobile app edit iOS app edit App section source
Line 99:
Preprocessing is defined by the first four (of eight) ''phases of translation'' specified in the C Standard.
 
# Trigraph replacement: The preprocessor replaces [[C trigraph|trigraph sequences]] with the characters they represent. This phase will bewas removed in [[C23 (C standard revision)|C23]] following the steps of [[C++17]].
# Line splicing: Physical source lines that are continued with [[escape character|escaped]] [[newline]] sequences are ''spliced'' to form logical lines.
# Tokenization: The preprocessor breaks the result into ''preprocessing tokens'' and [[Whitespace character|whitespace]]. It replaces comments with whitespace.