diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-04-13 05:54:26 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-04-13 05:54:26 +0000 |
commit | a48c6de83991f0ad5c8839dae352fc09006c5c1e (patch) | |
tree | 80d282df0bf8e75a7c086b19535852b022c7323f /parse.y | |
parent | b52b4a93fde83bf35029b54526257a78595e29ec (diff) |
1.2.5 pre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1677,10 +1677,9 @@ compile_string(f, s, len) lex_pbeg = lex_p = s; lex_pend = s + len; lex_input = 0; - if (!sourcefile || strcmp(f, sourcefile)) /* not in eval() */ + if (!sourcefile || strcmp(f, sourcefile)) sourceline = 1; - else /* in eval() */ - compile_for_eval = 1; + compile_for_eval = 1; return yycompile(f); } |