Next: Identifiers, Up: Common Patterns [Contents][Index]
([[:digit:]]{-}[0])[[:digit:]]*
0[xX][[:xdigit:]]+
0[01234567]*
{dseq} ([[:digit:]]+)
{dseq_opt} ([[:digit:]]*)
{frac} (({dseq_opt}"."{dseq})|{dseq}".")
{exp} ([eE][+-]?{dseq})
{exp_opt} ({exp}?)
{fsuff} [flFL]
{fsuff_opt} ({fsuff}?)
{hpref} (0[xX])
{hdseq} ([[:xdigit:]]+)
{hdseq_opt} ([[:xdigit:]]*)
{hfrac} (({hdseq_opt}"."{hdseq})|({hdseq}"."))
{bexp} ([pP][+-]?{dseq})
{dfc} (({frac}{exp_opt}{fsuff_opt})|({dseq}{exp}{fsuff_opt}))
{hfc} (({hpref}{hfrac}{bexp}{fsuff_opt})|({hpref}{hdseq}{bexp}{fsuff_opt}))
{c99_floating_point_constant} ({dfc}|{hfc})
See C99 section 6.4.4.2 for the gory details.