Skip to contentSkip to conversation

triple question marks in ppa.c

PATCH Xose Vazquez Perez 1 participant 1 message Oct 14, 2003

lore
Share & tools
lore
#0 lore raw

Rik van Riel espetou:

Quoted 1 line

Don't ask me why??? Triple question marks are a C trigraph in ansi C.

                       ^^^^^^^^^^^^^^^^^^^^^

[1]'ISO/IEC 9899:1999 Programming languages -- C' says in §5.2.1.1 that C trigraph sequences are:

??=     #         ??)     ]         ??!     |
??(     [         ??'     ^         ??>     }
??/     \         ??<     {         ??-     ~

"No other trigraph sequences exist", I didn't look [2] 'Corrigendum 1, ISO/IEC 9899:1999/Cor 1:2001', but I think that they were not modified.

And inside of comments there are not trigraph substitutions, at least in theory §6.4.9.

I only found a few in 2.4.22-bk30, aka 2.4.23-pre7:
http://marc.theaimsgroup.com/?l=linux-kernel&m=106565695609164&w=2

thanks to fix them ;-)

[1]
http://www.cl.cam.ac.uk/~mgk25/volatile/ISO-C-FDIS.1999-04.txt
http://www.cl.cam.ac.uk/~mgk25/volatile/ISO-C-FDIS.1999-04.pdf
[2]
http://www.iso.org/iso/en/CatalogueDetailPage.CatalogueDetail?CSNUMBER=35952

Signature · 1 line
Software is like sex, it's better when it's bug free.