summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-03 05:29:19 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-03 05:29:19 +0000
commit4365377d76020c5cacf03a35989f370d05f5780a (patch)
tree3351683d7f4a8991b411dee9dad61f856c42b5e0 /parse.y
parent9f1e0829daa572708a0aeb3dddbd33d13cb15693 (diff)
* io.c (rb_io_popen): accept integer flags as mode.
* file.c (rb_find_file_ext): extension table can be supplied from outside. renamed. * eval.c (rb_f_require): replace rb_find_file_noext by rb_find_file_ext. * eval.c (rb_provided): should also check feature without extension. * numeric.c (flo_to_s): do not rely on decimal point to be '.' * parse.y (yylex): ternary ? can be followed by newline. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index df796cdf17..c2aa1dd4d9 100644
--- a/parse.y
+++ b/parse.y
@@ -2994,7 +2994,7 @@ yylex()
return '?';
}
c = nextc();
- if (c == -1 || c == 10) {
+ if (c == -1) {
rb_compile_error("incomplete character syntax");
return 0;
}