diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-16 06:56:33 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-16 06:56:33 +0000 |
| commit | 71aacecc276d1ff2e5e3463e302f1bbb1cb7ba27 (patch) | |
| tree | c0737701408a079d097872eada0281563ea3f8a4 /parse.y | |
| parent | 42276b5e0ca1407368a0280d108a25fec820abc9 (diff) | |
| download | ruby-71aacecc276d1ff2e5e3463e302f1bbb1cb7ba27.tar.gz ruby-71aacecc276d1ff2e5e3463e302f1bbb1cb7ba27.tar.xz ruby-71aacecc276d1ff2e5e3463e302f1bbb1cb7ba27.zip | |
* parse.y (nextc): get rid of overrun. (pointed out by akr
[ruby-list:36773])
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
| -rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2529,7 +2529,7 @@ nextc() } } c = (unsigned char)*lex_p++; - if (c == '\r' && lex_p <= lex_pend && *lex_p == '\n') { + if (c == '\r' && lex_p < lex_pend && *lex_p == '\n') { lex_p++; c = '\n'; } |
