mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* parse.y (nextc): get rid of overrun. (pointed out by akr
[ruby-list:36773]) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
77d007dc05
commit
65f3eef1ee
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Mon Dec 16 15:53:20 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||||
|
|
||||||
|
* parse.y (nextc): get rid of overrun. (pointed out by akr
|
||||||
|
[ruby-list:36773])
|
||||||
|
|
||||||
Sun Dec 15 21:16:44 2002 WATANABE Hirofumi <eban@ruby-lang.org>
|
Sun Dec 15 21:16:44 2002 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
* lib/mkmf.rb (init_mkmf): add $(topdir) to $LIBPATH if $extmk.
|
* lib/mkmf.rb (init_mkmf): add $(topdir) to $LIBPATH if $extmk.
|
||||||
|
|
2
parse.y
2
parse.y
|
@ -2529,7 +2529,7 @@ nextc()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
c = (unsigned char)*lex_p++;
|
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++;
|
lex_p++;
|
||||||
c = '\n';
|
c = '\n';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue