diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-07-27 17:58:17 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-07-27 17:58:17 +0300 |
| commit | 6a17d6994dc1b9a249ad5be31e06a7ba9e80454d (patch) | |
| tree | d4d4c159b9b606fe8f6fe849d48d6a5ccafa1f05 /mparser.py | |
| parent | e8fba977f4d23b268a649769d16cea9fc3b7cc01 (diff) | |
| download | meson-6a17d6994dc1b9a249ad5be31e06a7ba9e80454d.tar.gz | |
Cleaner, simpler elif.
Diffstat (limited to 'mparser.py')
| -rw-r--r-- | mparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mparser.py b/mparser.py index 20531d429..e9cad0f66 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 : ' |
