It's failing for me because (!is_func (t[0], ARG)) is failing in env_exec.cpp
I don't understand what is_func is doing: inline bool is_func (tree t, tree_label l) { return (t.rep->op==l) && (N(t)!=0); } it seems to mean that ... and the first argument to rewrite-inactive has to have children But is suggests a relationship between the first argument, and ARG (whatever ARG is) On Fri, May 25, 2012 at 8:46 AM, Sam Liddicott <s...@liddicott.com> wrote: > Does anyone have an example of rewrite-inactive called from a texmacs > document which doesn't result in: "invalid rewrite-inactive" ? > > It is mentioned here: > http://www.texmacs.org/tmweb/manual/webman-styling.en.html > > These all fail > > <rewrite-inactive|<length|<tuple|1|2|3>>|once> > > <assign|t|once><rewrite-inactive|<length|<tuple|1|2|3>>|<value|t>> > > <assign|t|once><rewrite-inactive|<length|<tuple|1|2|3>>|t> > > Thanks > > Sam >
_______________________________________________ Texmacs-dev mailing list Texmacs-dev@gnu.org https://lists.gnu.org/mailman/listinfo/texmacs-dev