1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 1999-02-24 04:31:29 +00:00
parent 51fa86ece2
commit 3976feed73
56 changed files with 4037 additions and 1071 deletions

12
parse.c
View file

@ -5386,6 +5386,11 @@ retry:
}
}
}
else if (c >= 0x80) {
if ((c = nextc()) != '\\') {
pushback(c);
}
}
}
/* fall through */
case '\n':
@ -6096,6 +6101,13 @@ retry:
}
if ((c == '!' || c == '?') && is_identchar(tok()[0])) {
tokadd(c);
if (c == '!') {
c = nextc();
if (c == '=') {
rb_warn("identifier! immediately followed by `='");
}
pushback(c);
}
}
else {
pushback(c);