[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fossil-users
Subject:    Re: [fossil-users] TH1: expr (-1)+1
From:       Sergei Gavrikov <sergei.gavrikov () gmail ! com>
Date:       2014-08-24 20:02:51
Message-ID: alpine.DEB.2.00.1408242253390.8490 () sg-laptop
[Download RAW message or body]


On Sun, 24 Aug 2014, Ron W wrote:

> On Sun, Aug 24, 2014 at 4:55 AM, Sergei Gavrikov wrote:
>       Examples
>
>         % fossil test-th-eval 'expr (-1)+1'
>         fossil: ../src/th.c:2161: exprMakeTree: Assertion
>       `!apToken[jj] || !apToken[0]' failed.
>
>
> I think this is a quota/grouping issue. TH1 syntax is more-or-less a
> subset of TCL syntax, so ( and ) are used both for TH1 syntactical
> grouping and for algebraic expression grouping. This makes getting it
> right tricky. Then adding in "shell exposure" makes it even trickier

It is good to know. Thank you for clarification. I agreed with your
point. No more tricks then.

Sergei

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic