summaryrefslogtreecommitdiffstats
path: root/libcpp/include
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-06 23:13:15 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-06 23:13:15 +0000
commit6db045b0b39e8251847e7b9e0854c1055c4e6d5b (patch)
tree26d2e8e0bea6ee9e502a1040ff11525cbbc867b7 /libcpp/include
parenta0c4949ea6da314ad085c2230beda51df143db8c (diff)
downloadppe42-gcc-6db045b0b39e8251847e7b9e0854c1055c4e6d5b.tar.gz
ppe42-gcc-6db045b0b39e8251847e7b9e0854c1055c4e6d5b.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108133 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/include')
-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 9ec022f6dfc..b5bece5e5d6 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. */
OpenPOWER on IntegriCloud