aboutsummaryrefslogtreecommitdiff
path: root/libcpp/include/cpplib.h
diff options
context:
space:
mode:
authorJon Grimm <jgrimm2@us.ibm.com>2005-12-06 23:13:15 +0000
committerBen Elliston <bje@gcc.gnu.org>2005-12-07 10:13:15 +1100
commitad6ed77efd770405e0c861a7819ba4e3f9a9f756 (patch)
tree26d2e8e0bea6ee9e502a1040ff11525cbbc867b7 /libcpp/include/cpplib.h
parent2b948876d87065efd5c0aeabe828a586b9454cbd (diff)
downloadgcc-ad6ed77efd770405e0c861a7819ba4e3f9a9f756.zip
gcc-ad6ed77efd770405e0c861a7819ba4e3f9a9f756.tar.gz
gcc-ad6ed77efd770405e0c861a7819ba4e3f9a9f756.tar.bz2
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
Diffstat (limited to 'libcpp/include/cpplib.h')
-rw-r--r--libcpp/include/cpplib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcpp/include/cpplib.h b/libcpp/include/cpplib.h
index 9ec022f..b5bece5 100644
--- a/libcpp/include/cpplib.h
+++ b/libcpp/include/cpplib.h
@@ -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. */