You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I spotted this while parsing something like
Var1 == 1 && Var2 == 2
--
The probable cause is that in mpOprtBinCommon.h many operators have a wrong
priority.
In that file you see that the priority of inline defined classes (such as
OprtEQ) is set equal to 2, instead (I suppose) of prRELATIONAL1
The same applies to relation operators below (prRELATIONAL2).
Also I guess (but I'm not sure) that the MUP_BINARY_OPERATOR definitions in
that file are not correct.
MUP_BINARY_OPERATOR(OprtBAnd, _T("and"), bool_type, _T("less than"), 1, oaLEFT, a&&b)
should that line have a priority value taken from the EOprPriority enumeration,
instead of "1"?
Original issue reported on code.google.com by tho...@gmail.com on 19 Dec 2012 at 11:06
The text was updated successfully, but these errors were encountered:
Thanks for the report. This is one of the bug reports where i start intending
to explain why this can't possibly be true and end up with an alarminly high
rate of WTF's per second while looking at the code.
This issue should be fixed in V2.1.6. SVN and binary archives were already
updated.
Original comment by ib...@gmx.info on 20 Dec 2012 at 10:03
Original issue reported on code.google.com by
tho...@gmail.com
on 19 Dec 2012 at 11:06The text was updated successfully, but these errors were encountered: