aboutsummaryrefslogtreecommitdiffstats
path: root/ext/syck/syck.h
diff options
context:
space:
mode:
authorwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-19 16:37:20 +0000
committerwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-19 16:37:20 +0000
commitf5b2e6b149d13213b7f72df0e2b02d3f86b74ee1 (patch)
treeb62f0fca7f0d4889f2652277f7b7c4c863ee93da /ext/syck/syck.h
parent6f55b686819f214416425f2cf44b90d0642aaea9 (diff)
downloadruby-f5b2e6b149d13213b7f72df0e2b02d3f86b74ee1.tar.gz
* lib/syck.c, lib/syck.h, lib/token.c, lib/gram.c: count line numbers
only if line pointer has increased. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syck/syck.h')
-rw-r--r--ext/syck/syck.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/syck/syck.h b/ext/syck/syck.h
index 7b4f78714e..6bba91bb54 100644
--- a/ext/syck/syck.h
+++ b/ext/syck/syck.h
@@ -155,7 +155,7 @@ struct _syck_parser {
// Custom buffer size
size_t bufsize;
// Buffer pointers
- char *buffer, *lineptr, *toktmp, *token, *cursor, *marker, *limit;
+ char *buffer, *linectptr, *lineptr, *toktmp, *token, *cursor, *marker, *limit;
// Line counter
int linect;
// Last token from yylex()