# HG changeset patch # User jwe # Date 1021566860 0 # Node ID 3dd8d3dc28d493dda3abbede24e7934c0bd4dfd0 # Parent 028eb74026bcf7ecd3b317bd9a8fc2e59c3c3c09 [project @ 2002-05-16 16:34:20 by jwe] diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2002-05-16 John W. Eaton + * parse.y (function_end): Also accept end of input as end of + function if input is coming from an eval string. + * pr-output.cc (pr_any_float): Don't convert -0 to 0. 2002-05-15 John W. Eaton diff --git a/src/parse.y b/src/parse.y --- a/src/parse.y +++ b/src/parse.y @@ -1251,7 +1251,8 @@ } | END_OF_INPUT { - if (! (reading_fcn_file || reading_script_file)) + if (! (reading_fcn_file || reading_script_file + || get_input_from_eval_string)) YYABORT; } ;