Home | History | Annotate | Download | only in compiler

Lines Matching refs:tokens

332 void HandlePragma(const char **tokens, int numTokens)
335 if (!strcmp(tokens[0], "optimize")) {
341 if (strcmp(tokens[1], "(")) {
346 if (!strcmp(tokens[2], "on"))
348 else if (!strcmp(tokens[2], "off"))
355 if (strcmp(tokens[3], ")")) {
359 } else if (!strcmp(tokens[0], "debug")) {
365 if (strcmp(tokens[1], "(")) {
370 if (!strcmp(tokens[2], "on"))
372 else if (!strcmp(tokens[2], "off"))
379 if (strcmp(tokens[3], ")")) {
393 if (numTokens == 4 && !strcmp(tokens[1], "(") && !strcmp(tokens[3], ")")) {
396 iter = pragmaTable.find(TString(tokens[0]));
398 iter->second = tokens[2];
400 pragmaTable[ tokens[0] ] = tokens[2];
405 iter = pragmaTable.find(TString(tokens[0]));
407 iter->second = tokens[1];
409 pragmaTable[ tokens[0] ] = tokens[1];