summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/ply
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/ply')
-rw-r--r--bitbake/lib/ply/yacc.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/ply/yacc.py b/bitbake/lib/ply/yacc.py
index d50886ed2f..561784f2f7 100644
--- a/bitbake/lib/ply/yacc.py
+++ b/bitbake/lib/ply/yacc.py
@@ -488,7 +488,7 @@ class LRParser:
488 # --! DEBUG 488 # --! DEBUG
489 return result 489 return result
490 490
491 if t == None: 491 if t is None:
492 492
493 # --! DEBUG 493 # --! DEBUG
494 debug.error('Error : %s', 494 debug.error('Error : %s',
@@ -766,7 +766,7 @@ class LRParser:
766 n = symstack[-1] 766 n = symstack[-1]
767 return getattr(n,"value",None) 767 return getattr(n,"value",None)
768 768
769 if t == None: 769 if t is None:
770 770
771 # We have some kind of parsing error here. To handle 771 # We have some kind of parsing error here. To handle
772 # this, we are going to push the current token onto 772 # this, we are going to push the current token onto
@@ -1021,7 +1021,7 @@ class LRParser:
1021 n = symstack[-1] 1021 n = symstack[-1]
1022 return getattr(n,"value",None) 1022 return getattr(n,"value",None)
1023 1023
1024 if t == None: 1024 if t is None:
1025 1025
1026 # We have some kind of parsing error here. To handle 1026 # We have some kind of parsing error here. To handle
1027 # this, we are going to push the current token onto 1027 # this, we are going to push the current token onto