We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 726f249 + 47b7e64 commit 869b2efCopy full SHA for 869b2ef
3 files changed
tests/functional/prepro90.bi
@@ -0,0 +1,9 @@
1
+
2
+#define MACRO YES
3
4
+#if MACRO != YES
5
+ WRONG
6
+#else
7
+ OK
8
+#endif
9
tests/functional/prepro90.out
@@ -0,0 +1,4 @@
+#line 1 "prepro90.bi"
+#line 7 "prepro90.bi"
+#line 9 "prepro90.bi"
zxbpp/zxbpp.py
@@ -564,7 +564,7 @@ def p_expr(p):
564
def p_exprne(p):
565
""" expr : expr NE expr
566
"""
567
- p[0] = '1' if p[1] != p[2] else '0'
+ p[0] = '1' if p[1] != p[3] else '0'
568
569
570
def p_expreq(p):
0 commit comments