New == syntax
diff --git a/Lib/irix5/panelparser.py b/Lib/irix5/panelparser.py
index 9c9ee02..1b069fa 100755
--- a/Lib/irix5/panelparser.py
+++ b/Lib/irix5/panelparser.py
@@ -20,16 +20,16 @@
c = s[:1]
if c in whitespace:
s = s[1:]
- elif c = ';':
+ elif c == ';':
s = ''
- elif c = '"':
+ elif c == '"':
n = len(s)
i = 1
while i < n:
c = s[i]
i = i+1
- if c = '"': break
- if c = '\\': i = i+1
+ if c == '"': break
+ if c == '\\': i = i+1
tokens.append(s[:i])
s = s[i:]
elif c in operators:
@@ -78,9 +78,9 @@
while 1:
if not tokens:
raise syntax_error, 'missing ")"'
- if tokens[0] = ')':
+ if tokens[0] == ')':
return expr, tokens[1:]
- elif tokens[0] = '(':
+ elif tokens[0] == '(':
subexpr, tokens = parse_expr(tokens)
expr.append(subexpr)
else: