Merge pull request #1565 from Fleurer/fix1564

nextc(): always return an '\n' at end of input
This commit is contained in:
Yukihiro "Matz" Matsumoto
2013-11-08 17:22:59 -08:00
2 changed files with 13 additions and 6 deletions
+1
View File
@@ -113,6 +113,7 @@ struct mrb_parser_state {
char const *filename;
int lineno;
int column;
int eof;
enum mrb_lex_state_enum lstate;
mrb_ast_node *lex_strterm; /* (type nest_level beg . end) */