c-family: token streamer
authorNathan Sidwell <nathan@acm.org>
Tue, 17 Nov 2020 12:43:31 +0000 (04:43 -0800)
committerNathan Sidwell <nathan@acm.org>
Tue, 17 Nov 2020 14:10:21 +0000 (06:10 -0800)
commite3b55ce50ec294f30106947bd819f12a98069c57
tree12ac4a63ac71b5a6f238c1eb10dfe7a65ceea62e
parent7f87b4ef2323769bd71f7ccea2aa6017a7376f76
c-family: token streamer

This is broken out of modules patch 01-langhooks.diff, I realized that
this part is independent, and removes some duplicated code -- migrated
to the token_streamer class.

gcc/c-family/
* c-ppoutput.c (scan_translation_unit): Use token_streamer, remove
code duplicating that functionality.
gcc/c-family/c-ppoutput.c