improved make.tokcase for EOF handling

This commit is contained in:
ceriel 1989-11-17 11:41:47 +00:00
parent cde3638bc9
commit c023409091

View file

@ -23,6 +23,7 @@ s/.*{\(.*\),.*\(".*"\).*$/ case \1 :\
cat <<'--EOT--'
default:
if (tok <= 0) return "end of file";
if (tok < 040 || tok >= 0177) {
return "bad token";
}