[Changeset]: Re: Again error with graphics.h
David Bateman
adb014 at gmail.com
Wed May 28 11:43:52 CDT 2008
David Bateman wrote:
> In fact the change is fairly easy, just replace
>
> dval = gensub (/^.*\{(.*)\}.*$/, "\"\\1\"", "g", dval);
>
> with
>
> gsub (^.*\{(.*)\}.*$/, "\"\\1\"", dval);
>
> at line 413 and
>
> class_name = gensub (/^.*BEGIN_PROPERTIES\((.*)\)/, "\\1", "g");
>
> with
>
> class_name = $0;
> gsub (/^.*BEGIN_PROPERTIES\((.*)\)/, "\\1", class_name);
>
> at line 439. I believe gsub is compatible with awk.
>
> D.
and here is this change as a mercurial changeset
D.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch8139
Url: https://www.cae.wisc.edu/pipermail/help-octave/attachments/20080528/94fcd9e9/attachment.ksh
More information about the Help-octave
mailing list