diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-06-27 13:16:04 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-06-27 13:16:04 +0300 |
commit | a01d5e230db6f61a6efd3384f1eafe184944c45d (patch) | |
tree | ce072f7f35145065c10940d0f3162eea747c757b | |
parent | 5a37057b0ca1b7314f7f338134efc5100dc9223f (diff) | |
download | grecs-a01d5e230db6f61a6efd3384f1eafe184944c45d.tar.gz grecs-a01d5e230db6f61a6efd3384f1eafe184944c45d.tar.bz2 |
Bugfixes.
-rw-r--r-- | src/git-parser.c | 2 | ||||
-rw-r--r-- | src/meta1-gram.y | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/git-parser.c b/src/git-parser.c index e332704..7b887a7 100644 --- a/src/git-parser.c +++ b/src/git-parser.c @@ -58,7 +58,7 @@ rawinput() tok.prev_col = grecs_current_locus_point.col; grecs_locus_point_advance_line(grecs_current_locus_point); } else if (input_char < 0) - input_char == 0; + input_char = 0; else grecs_current_locus_point.col++; return input_char; diff --git a/src/meta1-gram.y b/src/meta1-gram.y index 0fb6727..1411361 100644 --- a/src/meta1-gram.y +++ b/src/meta1-gram.y @@ -27,7 +27,8 @@ int yylex(void); int yyerror(char *s); static struct grecs_node *parse_tree; -extern int yy_flex_debug; +extern int yy_flex_debug; +extern void yyset_in(FILE *); %} %error-verbose |