aboutsummaryrefslogtreecommitdiff
path: root/mparser.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-03-09 21:00:02 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2014-03-09 21:00:02 +0200
commit916dc87dc66cdbd54f2b014bd2180d8c5b8bff9b (patch)
tree9e77115b86171b0f870298e9526e181e8144ae04 /mparser.py
parent325181cc7b2252a57cba104d179a1306722dd636 (diff)
downloadmeson-916dc87dc66cdbd54f2b014bd2180d8c5b8bff9b.zip
meson-916dc87dc66cdbd54f2b014bd2180d8c5b8bff9b.tar.gz
meson-916dc87dc66cdbd54f2b014bd2180d8c5b8bff9b.tar.bz2
Kill shift/reduce conflict dead.
Diffstat (limited to 'mparser.py')
-rw-r--r--mparser.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/mparser.py b/mparser.py
index ccfb261..1a19c00 100644
--- a/mparser.py
+++ b/mparser.py
@@ -168,14 +168,6 @@ def p_statement_array(t):
else:
t[0] = nodes.ArrayStatement(t[3], t.lineno(1))
-def p_statement_array2(t):
- '''statement : LBRACKET args EOL RBRACKET
- | LBRACKET EOL args EOL RBRACKET'''
- if len(t) == 5:
- t[0] = nodes.ArrayStatement(t[2], t.lineno(1))
- else:
- t[0] = nodes.ArrayStatement(t[3], t.lineno(1))
-
def p_statement_func_call(t):
'statement : expression LPAREN args RPAREN'
t[0] = nodes.FunctionCall(t[1], t[3], t[1].lineno())