jed-users mailing list

[2009 Date Index] [2009 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: bug(?) in black3 and Guido Gonzato's updates


Jörg Sommer <joerg@xxxxxxxxxxxx> wrote:
> It's a bug (?) in the DFA cache file parser/generator or the DFA cache
> misses an upgrade mechanism. The old version wrote this table to the DFA
> cache file:

I will look into it.

[...]
> But this does not really solve my confusion. The main difference in C
> between ++X and X++ is the point of execution of the increment.
>
> Y = X++;
>
> is a shorthand for
>
> Y = X;
> X = X + 1;

It is a shorthand in C, but not in slang.  slang does not support Y=X++ :

    slsh> X = 1;
    slsh> Y = X++;
    <stdin>:2: Expecting ;: found '++'
    
For this reason, slang does not distinguish between X++ and ++X.

Thanks,
--John

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2009 date index] [2009 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]