]> ocean-lang.org Git - ocean/commitdiff
scanner: hide impossible code from coverage testing.
authorNeilBrown <neil@brown.name>
Sun, 9 Jun 2019 00:03:44 +0000 (10:03 +1000)
committerNeilBrown <neil@brown.name>
Sun, 9 Jun 2019 00:11:03 +0000 (10:11 +1000)
The code in "white space" section is truly impossible, as
we don't return WEOF untile ->node is NULL, and when that
happens, ->col is set to 0.

Other code is only "mostly dead".

This brings coverage to 95%

Signed-off-by: NeilBrown <neil@brown.name>

No differences found