commit b41f42ca3178ac004280708d3e40b5265c9b8920 parent 5c13342f7a31fb005605db221c0cebc2d9c57daf Author: Drew DeVault <sir@cmpwn.com> Date: Tue, 22 Dec 2020 14:08:36 -0500 Add TODO regarding precedence Diffstat:
M | src/parse.c | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/parse.c b/src/parse.c @@ -504,6 +504,8 @@ precedence(enum lexical_token token) return 0; case T_LAND: return 1; + // TODO: Consider moving binary operator precedence after ==/!=, this is + // a long standing design flaw in C case T_BOR: return 2; case T_BXOR: