summaryrefslogtreecommitdiff
path: root/ext/syck/token.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/syck/token.c')
-rw-r--r--ext/syck/token.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/syck/token.c b/ext/syck/token.c
index dc8802740b3..8ca144f1bb2 100644
--- a/ext/syck/token.c
+++ b/ext/syck/token.c
@@ -1,4 +1,4 @@
-/* Generated by re2c 0.5 on Tue May 13 14:03:13 2003 */
+/* Generated by re2c 0.5 on Thu May 15 15:42:01 2003 */
#line 1 "token.re"
/*
* token.re
@@ -134,7 +134,7 @@
if ( *YYCURSOR == '\0' ) \
{ \
ict = -1; \
- start = YYCURSOR; \
+ start = YYCURSOR - 1; \
} \
else if ( *YYLINEPTR == ' ' ) \
{ \
@@ -1637,7 +1637,7 @@ yyerror( char *msg )
if ( syck_parser_ptr->error_handler == NULL )
syck_parser_ptr->error_handler = syck_default_error_handler;
- syck_parser_ptr->root = 0;
+ syck_parser_ptr->root = syck_parser_ptr->root_on_error;
(syck_parser_ptr->error_handler)(syck_parser_ptr, msg);
}