Eolian/Lexer: fix EOF issue.
authorDaniel Zaoui <daniel.zaoui@samsung.com>
Tue, 11 Mar 2014 08:05:02 +0000 (10:05 +0200)
committerDaniel Zaoui <daniel.zaoui@samsung.com>
Tue, 11 Mar 2014 09:22:06 +0000 (11:22 +0200)
commit0f80ed90087186024453b03e5b70301f6d5b8df4
tree5b6d843641dfc0f82dd76cb9ff44db0725a404e3
parent7d8059e4c51d4fe7863a6691b9fe15b27ad2d59e
Eolian/Lexer: fix EOF issue.

When a new line was added before the last } in a .eo file, the parsing
was resulting in an error. It was due to the fact that some pointer
indicating the eof was not set when the parsing was done from memory.
src/lib/eolian/eo_lexer.c
src/lib/eolian/eo_lexer.rl