===================================================================
@@ -124,26 +124,28 @@ gimple_parse_expect_rhs1 (cpp_reader *p)
would be more stuff added here as we go on. */
/* ??? Can there be more possibilities than these ? */
- if (next_token->type == CPP_MULT)
+ switch (next_token->type)
{
+ case CPP_MULT:
+ case CPP_AND:
next_token = cpp_get_token (p);
gimple_parse_expect_token (p, CPP_NAME);
- }
- else if (next_token->type == CPP_AND)
- {
+ break;
+
+ case CPP_NAME:
+ case CPP_NUMBER:
+ case CPP_STRING:
next_token = cpp_get_token (p);
- gimple_parse_expect_token (p, CPP_NAME);
+ break;
+
+ default:
+ break;
}
- else if (next_token->type == CPP_NAME)
- next_token = cpp_get_token (p);
- else if (next_token->type == CPP_NUMBER)
- next_token = cpp_get_token (p);
- else if (next_token->type == CPP_STRING)
- next_token = cpp_get_token (p);
gimple_parse_expect_token (p, CPP_COMMA);
}
+
/* Helper for gimple_parse_assign_stmt. The token read from reader P
should
be the second operand in rhs of the tuple. */