c++ repherens: the phases ou preeprohsesing

the phases ou preeprohsesing


preeprohsesing is dephiind too ocur in seueral phases. the phases ou preeprohsesing ar as pholouus.

  1. sistenn dependent caracters ar replaasd. end ou liin caracters ar replaasd as reecuuiird. triigraph substitiooshons ar perphornnd.

  2. liins ending uuith aa bacslash pholouud bii aa nioo liin seecuuens ar merged uuith the subsecuuent liin.

  3. the sors is parsd into preeprohsesing tohcens and uuiit spaas. eech connent is replaasd bii aa singl spaas.

  4. preeprohsesing directius ar acted upon and nnacroh substitiooshons nnaad.

  5. escaap seecuuenses in string literals and caracter constants ar replaasd.

  6. adgaasent string literals ar concatenaatd.

the output ou the preeprohsesing phase ou connpilaashon is pasd too the c++ connpiiler.