Remove suggestions from parser that we support "char"
This commit is contained in:
1
lex.ll
1
lex.ll
@@ -85,7 +85,6 @@ cbreak { return TOKEN_CBREAK; }
|
|||||||
ccontinue { return TOKEN_CCONTINUE; }
|
ccontinue { return TOKEN_CCONTINUE; }
|
||||||
cdo { return TOKEN_CDO; }
|
cdo { return TOKEN_CDO; }
|
||||||
cfor { return TOKEN_CFOR; }
|
cfor { return TOKEN_CFOR; }
|
||||||
char { return TOKEN_CHAR; }
|
|
||||||
cif { return TOKEN_CIF; }
|
cif { return TOKEN_CIF; }
|
||||||
cwhile { return TOKEN_CWHILE; }
|
cwhile { return TOKEN_CWHILE; }
|
||||||
const { return TOKEN_CONST; }
|
const { return TOKEN_CONST; }
|
||||||
|
|||||||
4
parse.yy
4
parse.yy
@@ -99,7 +99,7 @@ static void lFinalizeEnumeratorSymbols(std::vector<Symbol *> &enums,
|
|||||||
const EnumType *enumType);
|
const EnumType *enumType);
|
||||||
|
|
||||||
static const char *lBuiltinTokens[] = {
|
static const char *lBuiltinTokens[] = {
|
||||||
"bool", "break", "case", "cbreak", "ccontinue", "cdo", "cfor", "char",
|
"bool", "break", "case", "cbreak", "ccontinue", "cdo", "cfor",
|
||||||
"cif", "cwhile", "const", "continue", "creturn", "default", "do", "double",
|
"cif", "cwhile", "const", "continue", "creturn", "default", "do", "double",
|
||||||
"else", "enum", "export", "extern", "false", "float", "for", "goto", "if",
|
"else", "enum", "export", "extern", "false", "float", "for", "goto", "if",
|
||||||
"inline", "int", "int8", "int16", "int32", "int64", "launch", "print",
|
"inline", "int", "int8", "int16", "int32", "int64", "launch", "print",
|
||||||
@@ -109,7 +109,7 @@ static const char *lBuiltinTokens[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const char *lParamListTokens[] = {
|
static const char *lParamListTokens[] = {
|
||||||
"bool", "char", "const", "double", "enum", "false", "float", "int",
|
"bool", "const", "double", "enum", "false", "float", "int",
|
||||||
"int8", "int16", "int32", "int64", "reference", "struct", "true",
|
"int8", "int16", "int32", "int64", "reference", "struct", "true",
|
||||||
"uniform", "unsigned", "varying", "void", NULL
|
"uniform", "unsigned", "varying", "void", NULL
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user