Fix build failure with macOS bison
[deliverable/binutils-gdb.git] / gdb / m2-exp.y
index a03949161720e7e74051cf9a0a734dcda162a6e4..85d587651a28ba18e976fd71decb068ff01f4a5e 100644 (file)
@@ -125,7 +125,7 @@ static int number_sign = 1;
 /* The GDB scope operator */
 %token COLONCOLON
 
-%token <voidval> INTERNAL_VAR
+%token <voidval> DOLLAR_VARIABLE
 
 /* M2 tokens */
 %left ','
@@ -535,7 +535,7 @@ variable:   fblock
        ;
 
 /* GDB internal ($foo) variable */
-variable:      INTERNAL_VAR
+variable:      DOLLAR_VARIABLE
        ;
 
 /* GDB scope operator */
@@ -949,7 +949,7 @@ yylex (void)
   if (*tokstart == '$')
     {
       write_dollar_variable (pstate, yylval.sval);
-      return INTERNAL_VAR;
+      return DOLLAR_VARIABLE;
     }
 
   /* Use token-type BLOCKNAME for symbols that happen to be defined as
This page took 0.026744 seconds and 4 git commands to generate.