2009/10/30 Jorden Mauro <jrm8...@gmail.com>:
> Look under the production for expr in /sys/src/cmd/hoc/hoc.y
>
> Looks like the unary plus problem would be a one-line fix. The -- with no 
> space
> may be harder to fix.

Thanks, I will.

Nonetheless, the problem, as I am thinking about it now, could
possibly (also) be connected to ++ and -- operators, as in
a++, a--
where 'a' is some variable.
Although the meaning for e.g.
a--b
is still only one, i.e.
a - (-b),
(a-- b wouldn't make sense) it probably can't (can it?) be parsed
simply with yacc...

Ruda

Reply via email to