Commit da5b307a by Joseph Myers Committed by Joseph Myers

c-common.c (enum rid): Remove RID_PTRBASE, RID_PTREXTENT and RID_PTRVALUE.

	* c-common.c (enum rid): Remove RID_PTRBASE, RID_PTREXTENT and
	RID_PTRVALUE.
	* c-parse.in (PTR_VALUE, PTR_BASE, PTR_EXTENT): Remove %token
	declarations.
	(reswords): Remove __ptrbase, __ptrbase__, __ptrextent,
	__ptrextent__, __ptrvalue and __ptrvalue__.
	(rid_to_yy): Remove RID_PTRBASE, RID_PTREXTENT and RID_PTRVALUE
	entries.

From-SVN: r89158
parent 4fe52ce9
2004-10-17 Joseph S. Myers <jsm@polyomino.org.uk>
* c-common.c (enum rid): Remove RID_PTRBASE, RID_PTREXTENT and
RID_PTRVALUE.
* c-parse.in (PTR_VALUE, PTR_BASE, PTR_EXTENT): Remove %token
declarations.
(reswords): Remove __ptrbase, __ptrbase__, __ptrextent,
__ptrextent__, __ptrvalue and __ptrvalue__.
(rid_to_yy): Remove RID_PTRBASE, RID_PTREXTENT and RID_PTRVALUE
entries.
2004-10-16 Dale Johannesen <dalej@apple.com> 2004-10-16 Dale Johannesen <dalej@apple.com>
* c-common.c (c_common_get_alias_set): Use GGC for type_hash_table. * c-common.c (c_common_get_alias_set): Use GGC for type_hash_table.
......
...@@ -72,8 +72,8 @@ enum rid ...@@ -72,8 +72,8 @@ enum rid
/* C extensions */ /* C extensions */
RID_ASM, RID_TYPEOF, RID_ALIGNOF, RID_ATTRIBUTE, RID_VA_ARG, RID_ASM, RID_TYPEOF, RID_ALIGNOF, RID_ATTRIBUTE, RID_VA_ARG,
RID_EXTENSION, RID_IMAGPART, RID_REALPART, RID_LABEL, RID_PTRBASE, RID_EXTENSION, RID_IMAGPART, RID_REALPART, RID_LABEL, RID_CHOOSE_EXPR,
RID_PTREXTENT, RID_PTRVALUE, RID_CHOOSE_EXPR, RID_TYPES_COMPATIBLE_P, RID_TYPES_COMPATIBLE_P,
/* Too many ways of getting the name of a function as a string */ /* Too many ways of getting the name of a function as a string */
RID_FUNCTION_NAME, RID_PRETTY_FUNCTION_NAME, RID_C99_FUNCTION_NAME, RID_FUNCTION_NAME, RID_PRETTY_FUNCTION_NAME, RID_C99_FUNCTION_NAME,
......
...@@ -148,7 +148,6 @@ do { \ ...@@ -148,7 +148,6 @@ do { \
%token BREAK CONTINUE RETURN GOTO ASM_KEYWORD TYPEOF ALIGNOF %token BREAK CONTINUE RETURN GOTO ASM_KEYWORD TYPEOF ALIGNOF
%token ATTRIBUTE EXTENSION LABEL %token ATTRIBUTE EXTENSION LABEL
%token REALPART IMAGPART VA_ARG CHOOSE_EXPR TYPES_COMPATIBLE_P %token REALPART IMAGPART VA_ARG CHOOSE_EXPR TYPES_COMPATIBLE_P
%token PTR_VALUE PTR_BASE PTR_EXTENT
%token FUNC_NAME OFFSETOF %token FUNC_NAME OFFSETOF
/* Add precedence rules to solve dangling else s/r conflict */ /* Add precedence rules to solve dangling else s/r conflict */
...@@ -3093,12 +3092,6 @@ static const struct resword reswords[] = ...@@ -3093,12 +3092,6 @@ static const struct resword reswords[] =
{ "__inline", RID_INLINE, 0 }, { "__inline", RID_INLINE, 0 },
{ "__inline__", RID_INLINE, 0 }, { "__inline__", RID_INLINE, 0 },
{ "__label__", RID_LABEL, 0 }, { "__label__", RID_LABEL, 0 },
{ "__ptrbase", RID_PTRBASE, 0 },
{ "__ptrbase__", RID_PTRBASE, 0 },
{ "__ptrextent", RID_PTREXTENT, 0 },
{ "__ptrextent__", RID_PTREXTENT, 0 },
{ "__ptrvalue", RID_PTRVALUE, 0 },
{ "__ptrvalue__", RID_PTRVALUE, 0 },
{ "__real", RID_REALPART, 0 }, { "__real", RID_REALPART, 0 },
{ "__real__", RID_REALPART, 0 }, { "__real__", RID_REALPART, 0 },
{ "__restrict", RID_RESTRICT, 0 }, { "__restrict", RID_RESTRICT, 0 },
...@@ -3252,9 +3245,6 @@ static const short rid_to_yy[RID_MAX] = ...@@ -3252,9 +3245,6 @@ static const short rid_to_yy[RID_MAX] =
/* RID_IMAGPART */ IMAGPART, /* RID_IMAGPART */ IMAGPART,
/* RID_REALPART */ REALPART, /* RID_REALPART */ REALPART,
/* RID_LABEL */ LABEL, /* RID_LABEL */ LABEL,
/* RID_PTRBASE */ PTR_BASE,
/* RID_PTREXTENT */ PTR_EXTENT,
/* RID_PTRVALUE */ PTR_VALUE,
/* RID_CHOOSE_EXPR */ CHOOSE_EXPR, /* RID_CHOOSE_EXPR */ CHOOSE_EXPR,
/* RID_TYPES_COMPATIBLE_P */ TYPES_COMPATIBLE_P, /* RID_TYPES_COMPATIBLE_P */ TYPES_COMPATIBLE_P,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment