Hi,
I just looked through the code of the latest snapshot. I'm not a C-programmer, but aren't there some brackets missing on line 342:
modifiers = (items[19] && *(items[19])) ? items[19] : NULL;
Shouldn't this be:
modifiers = ((items[19] && *(items[19])) ? items[19] : NULL);
Just an idea
-- Regards,
Dirk Kastens Universitaet Osnabrueck, Rechenzentrum (Computer Center) Albrechtstr. 28, 49069 Osnabrueck, Germany Tel.: +49-541-969-2347, FAX: -2470
On Thu, 27 Mar 2008, Dirk Kastens wrote:
I just looked through the code of the latest snapshot. I'm not a C-programmer, but aren't there some brackets missing on line 342:
modifiers = (items[19] && *(items[19])) ? items[19] : NULL;
Shouldn't this be:
modifiers = ((items[19] && *(items[19])) ? items[19] : NULL);
Operator precedence makes those two expressions equivalent.
http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B#Operator_precedence
Ulric
participants (2)
-
Dirk.Kastens@uni-osnabrueck.de
-
ulric@siag.nu