int *ivec;
}
-%{
-static int parse_number PARAMS ((void));
-%}
-
%token <voidval> FIXME
%token <typed_val> INTEGER_LITERAL
char *tokptr = *tokptrptr;
int base = 0;
int ival = 0;
- int digits = 0;
- int temp;
int explicit_base = 0;
/* Look for an explicit base specifier, which is optional. */
}
}
+#if 0
static void convert_float ()
{
-#if 0
extern double strtod ();
double d;
char tmp[256];
;
}
yylval.dval = d;
-#endif
}
+#endif
/* Take care of parsing a number (anything that starts with a digit).
Set yylval and return the token type; update lexptr.
/*** Needs some error checking for the float case ***/
-static int
-parse_number ()
-{
-}
-
struct token
{
char *operator;
int token;
};
-const static struct token tokentab5[] =
+static const struct token tokentab5[] =
{
{ "ANDIF", ANDIF }
};
-const static struct token tokentab4[] =
+static const struct token tokentab4[] =
{
{ "ORIF", ORIF }
};
-const static struct token tokentab3[] =
+static const struct token tokentab3[] =
{
{ "NOT", NOT },
{ "XOR", LOGXOR },
{ "AND", LOGAND }
};
-const static struct token tokentab2[] =
+static const struct token tokentab2[] =
{
{ "//", SLASH_SLASH },
{ "/=", NOTEQUAL },
case LOC_STATIC:
/* Found a global or local static variable. */
return (LOCATION_NAME);
+ case LOC_UNDEF:
+ case LOC_CONST:
+ case LOC_REGISTER:
+ case LOC_ARG:
+ case LOC_REF_ARG:
+ case LOC_REGPARM:
+ case LOC_LOCAL:
+ case LOC_TYPEDEF:
+ case LOC_LABEL:
+ case LOC_CONST_BYTES:
+ case LOC_LOCAL_ARG:
+ break;
}
}
else if (!have_full_symbols () && !have_partial_symbols ())