|
| From: | Andrew Janke |
| Subject: | [Octave-bug-tracker] [bug #57820] [fuzzy-logic-toolkit] Build failure: parse error on anonymous function |
| Date: | Fri, 14 Feb 2020 23:24:37 -0500 (EST) |
| User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:72.0) Gecko/20100101 Firefox/72.0 |
Follow-up Comment #1, bug #57820 (project octave):
Oops; a bad "verbatim" tag lost the rest of my post.
Here's the error:
octave:10> pkg install -forge fuzzy-logic-toolkit
parse error near line 165 of file
/Users/janke/octave/fuzzy-logic-toolkit-0.4.5/defuzz.m
anonymous function bodies must be single expressions
>>> y_val = @(y_val) if (y_val == max_y) 1 else 0 endif;
^
error: called from
doc_cache_create>create_cache at line 109 column 20
gen_doc_cache_in_dir>@<anonymous> at line 143 column 16
doc_cache_create>gen_doc_cache_in_dir at line 144 column 9
doc_cache_create at line 55 column 12
install>generate_lookfor_cache at line 800 column 5
install at line 229 column 7
pkg at line 441 column 9
octave:10>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57820>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |