nitcc: end-of-stream does not equate `'\0'`
authorJean Privat <jean@pryen.org>
Fri, 29 Nov 2013 14:32:04 +0000 (09:32 -0500)
committerJean Privat <jean@pryen.org>
Fri, 29 Nov 2013 14:32:04 +0000 (09:32 -0500)
commitaee1646f6ce86ffc8ebc8b93385056f7364ab059
treebba6d50e44ab3ea1ade50f479ff59f1a9ce3adbe
parent87646dd7a12cb1905f93e6b1739c7a3845e00dd5
nitcc: end-of-stream does not equate `'\0'`

It was a basic WIP stuff that remained.
`Any` and other classes of character can legally accept `'\0'` thus looping
infinitely.

Reported-by: Samuel Lambert <tweakedsam@gmail.com>
Signed-off-by: Jean Privat <jean@pryen.org>
lib/nitcc_runtime.nit