HP C/iX Reference Manual (31506-90011)

198 AppendixB
Syntax Summary
Lexical Grammar
Lexical Grammar
Tokens
token
::=
keyword
identifier
constant
string-literal
operator
punctuator
preprocessing-token
::=
header-name
identifier
pp-number
character-constant
string-literal
operator
punctuator
each non-white-space character cannot be one of the above
Keywords
keyword
::= any word from the set:
auto extern sizeof
break float static
case for struct
char goto switch
const if typedef
continue int union
default long unsigned
do register void
double return volatile
else short while
enum signed
Identifiers
identifier
::=
nondigit
identifier nondigit
identifier digit
identifier dollar-sign
nondigit
::= any character from the set:
_abcdefghijklmnop
qrstuvwxyzABCDEFG
HIJKLMNOPQRSTUVWX
YZ$
digit
:= any character from the set: