help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

set_goto_map() has unintentional ++ operator


From: Sean Nakasone
Subject: set_goto_map() has unintentional ++ operator
Date: Sun, 21 Dec 2014 10:51:18 -1000

in lalr.c

the ++ at the end of the following line doesn't have a purpose

goto_number k = temp_map[TRANSITION_SYMBOL(sp, i) - ntokens]++;

it can be misleading. 

Sent from my iPhone



reply via email to

[Prev in Thread] Current Thread [Next in Thread]