aboutsummaryrefslogtreecommitdiff
path: root/mparser.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-07-27 17:58:17 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2013-07-27 17:58:17 +0300
commit6a17d6994dc1b9a249ad5be31e06a7ba9e80454d (patch)
treed4d4c159b9b606fe8f6fe849d48d6a5ccafa1f05 /mparser.py
parente8fba977f4d23b268a649769d16cea9fc3b7cc01 (diff)
downloadmeson-6a17d6994dc1b9a249ad5be31e06a7ba9e80454d.zip
meson-6a17d6994dc1b9a249ad5be31e06a7ba9e80454d.tar.gz
meson-6a17d6994dc1b9a249ad5be31e06a7ba9e80454d.tar.bz2
Cleaner, simpler elif.
Diffstat (limited to 'mparser.py')
-rw-r--r--mparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mparser.py b/mparser.py
index 20531d4..e9cad0f 100644
--- a/mparser.py
+++ b/mparser.py
@@ -208,7 +208,7 @@ def p_statement_not(t):
def p_statement_elif(t):
'elseblock : ELIF statement EOL codeblock elseblock'
- t[0] = nodes.ElifStatement(t[2], t[4], t[5], t.lineno(1))
+ t[0] = nodes.IfStatement(t[2], t[4], t[5], t.lineno(1))
def p_empty_else(t):
'elseblock : '