Mercurial > octave-nkf
view test/bug-38565.tst @ 19914:2350fc8ba960
build: Fix build failure on missing oct-parse.h (bug #44391)
* libinterp/Makefile.am (GENERATED_MAKE_BUILTINS_INCS): Include
parse-tree/oct-parse.h in the list.
* libinterp/parse-tree/module.mk (parse-tree/oct-parse.h): Depend on
parse-tree/oct-parse.cc.
author | Mike Miller <mtmiller@ieee.org> |
---|---|
date | Sat, 28 Feb 2015 19:07:48 -0500 |
parents | b9e510a1f308 |
children |
line wrap: on
line source
%!function r = f (x) %! if (ischar (x)) %! r = x; %! else %! error ("expecting character string"); %! endif %!endfunction %!assert (eval ("f 10;"), "10");