Properly read characters from the source file.
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 13 Nov 2017 11:52:20 +0000 (12:52 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 13 Nov 2017 11:52:20 +0000 (12:52 +0100)
commit62426b89828710e58dcd043f03d7c8006c07b5d6
treeb0640335168cb2d6e9bb9a48bc238bb6343f2418
parent6a19b8fe2e017d899437b43646b27fdcc26d5ed0
Properly read characters from the source file.

And add proper error handling.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
lexer/main.c
lexer/test.txt