aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mmitchel@gcc.gnu.org>1998-03-24 10:34:35 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1998-03-24 10:34:35 +0000
commitff29fd003bf23a076adb8212ebc64404723882b8 (patch)
tree5a1950970fda1d60cbb56fda2cef9cc5dc612bc4
parent050367a36dc31833f15828aef52e33a37ef2a952 (diff)
downloadgcc-ff29fd003bf23a076adb8212ebc64404723882b8.zip
gcc-ff29fd003bf23a076adb8212ebc64404723882b8.tar.gz
gcc-ff29fd003bf23a076adb8212ebc64404723882b8.tar.bz2
Commit files missed with last commit.
From-SVN: r18796
-rw-r--r--gcc/cp/gxxint.texi12
-rw-r--r--gcc/cp/lex.c2
2 files changed, 14 insertions, 0 deletions
diff --git a/gcc/cp/gxxint.texi b/gcc/cp/gxxint.texi
index 08ab917..6527d08 100644
--- a/gcc/cp/gxxint.texi
+++ b/gcc/cp/gxxint.texi
@@ -1746,6 +1746,9 @@ Indicates a C++ array type.
Encodes the C++ @code{bool} type,
and the Java @code{boolean} type.
+@item B
+Used for squangling.
+
@item c
Encodes the C++ @code{char} type, and the Java @code{byte} type.
@@ -1760,6 +1763,9 @@ Encodes the C++ and Java @code{double} types.
@item e
Indicates extra unknown arguments @code{...}.
+@item E
+Indicates the opening parenthesis of an expression.
+
@item f
Encodes the C++ and Java @code{float} types.
@@ -1775,6 +1781,9 @@ Encodes the C++ and Java @code{int} types.
@item J
Indicates a complex type.
+@item K
+Used for squangling.
+
@item l
Encodes the C++ @code{long} type.
@@ -1821,6 +1830,9 @@ A modified for a @code{const} type or method.
@item w
Encodes the C++ @code{wchar_t} type, and the Java @code{char} types.
+@item W
+Indicates the closing parenthesis of an expression.
+
@item x
Encodes the GNU C++ @code{long long} type, and the Java @code{long} type.
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c
index d4c5bbe..719a1ca 100644
--- a/gcc/cp/lex.c
+++ b/gcc/cp/lex.c
@@ -615,6 +615,8 @@ init_lex ()
IDENTIFIER_OPNAME_P (ansi_opname[(int) MAX_EXPR]) = 1;
ansi_opname[(int) COND_EXPR] = get_identifier ("__cn");
IDENTIFIER_OPNAME_P (ansi_opname[(int) COND_EXPR]) = 1;
+ ansi_opname[(int) SIZEOF_EXPR] = get_identifier ("__sz");
+ IDENTIFIER_OPNAME_P (ansi_opname[(int) SIZEOF_EXPR]) = 1;
init_method ();
init_error ();