cpplib.h (CPP_N_DFLOAT): New.
* include/cpplib.h (CPP_N_DFLOAT): New. * expr.c (interpret_float_suffix): Identify df, dd, and dl suffixes as decimal floating point constants. (cpp_classify_number): Disallow hexadecimal DFP constants. Co-Authored-By: Ben Elliston <bje@au.ibm.com> From-SVN: r108133
This commit is contained in:
parent
2b948876d8
commit
ad6ed77efd
3 changed files with 31 additions and 2 deletions
|
@ -743,6 +743,7 @@ struct cpp_num
|
|||
|
||||
#define CPP_N_UNSIGNED 0x1000 /* Properties. */
|
||||
#define CPP_N_IMAGINARY 0x2000
|
||||
#define CPP_N_DFLOAT 0x4000
|
||||
|
||||
/* Classify a CPP_NUMBER token. The return value is a combination of
|
||||
the flags from the above sets. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue