genmatch.c
111 KB
-
genmatch.c (parser::peek, [...]): Add argument to tell how many tokens to peek ahead (default 1). · 64d3a1f0
2015-07-15 Richard Biener <rguenther@suse.de> * genmatch.c (parser::peek, parser::peek_ident): Add argument to tell how many tokens to peek ahead (default 1). (parser::eat_token, parser::eat_ident): Return token consumed. (parser::parse_result): Parse new switch statement. * match.pd: Use case statements where appropriate. From-SVN: r225809
Richard Biener committed