aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov-io.h
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2021-07-05 21:11:03 +0200
committerMark Wielaard <mark@klomp.org>2021-07-05 21:11:03 +0200
commit29192293fdce8b3cf4888bbe0d5f504655e26cd5 (patch)
treec79b390d50c717ad4e1abd2c262a7b53de69a467 /gcc/gcov-io.h
parent27b3d34428801397e562b7fcc5ca10b13961f3e1 (diff)
downloadgcc-29192293fdce8b3cf4888bbe0d5f504655e26cd5.zip
gcc-29192293fdce8b3cf4888bbe0d5f504655e26cd5.tar.gz
gcc-29192293fdce8b3cf4888bbe0d5f504655e26cd5.tar.bz2
Handle UTF-8 BOM in lexer
The very first thing in a rust source file might be the optional UTF-8 BOM. This is the 3 bytes 0xEF 0xBB 0xBF. They can simply be skipped, they just mark the file as UTF-8. Add some testcases to show we now handle such files.
Diffstat (limited to 'gcc/gcov-io.h')
0 files changed, 0 insertions, 0 deletions