changeset 23548:05bbca224a14

maint: Periodic merge of stable to default.
author Rik <rik@octave.org>
date Tue, 06 Jun 2017 08:50:20 -0700
parents 06805aabbdd1 (current diff) 8133a5041662 (diff)
children c8daadf7543b
files scripts/general/publish.m scripts/polynomial/residue.m
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/general/publish.m	Sun May 28 14:21:07 2017 +0200
+++ b/scripts/general/publish.m	Tue Jun 06 08:50:20 2017 -0700
@@ -1017,10 +1017,10 @@
 
 function ___cstr___ = eval_code_helper (___context___, ___code___)
   ## EVAL_CODE_HELPER evaluates a given string with Octave code in an extra
-  ##   temporary context and returns a cellstring with the eval output.
+  ## temporary context and returns a cellstring with the eval output.
 
-  ## FIXME: Potential conflicting variables surrounded by "___".
-  ##        Maybe there is a better solution?
+  ## FIXME: code may contain potential conflicting variables named ___code___,
+  ## ___context___, or ___cstr___.  Is there a better solution?
   if (isempty (___code___))
     return;
   endif
@@ -1032,13 +1032,13 @@
   ___cstr___ = strsplit (evalc (___code___), "\n");
 
   clear ___code___;
-  save (___context___);
+  save ("-binary", ___context___);
 endfunction
 
 
 ## FIXME: Missing any functional BIST tests
+## FIXME: Need to create a temporary file for use with error testing
 
-## FIXME: Need to create a temporary file for use with error testing
 ## Test input validation
 %!error publish ()
 %!error publish (1)