aboutsummaryrefslogtreecommitdiff
path: root/bparser.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-02-10 01:12:00 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2013-02-10 01:12:00 +0200
commit90779664c3bfbf20d39b5ceb3792f63cebda44f7 (patch)
tree064d1a72605eb36b38bdfee6b5b5e5b42b59152a /bparser.py
parent45ecded01d814d0d0bf9b84c0dafa65575ab2bdd (diff)
downloadmeson-90779664c3bfbf20d39b5ceb3792f63cebda44f7.zip
meson-90779664c3bfbf20d39b5ceb3792f63cebda44f7.tar.gz
meson-90779664c3bfbf20d39b5ceb3792f63cebda44f7.tar.bz2
Can build executables with keyword arguments.
Diffstat (limited to 'bparser.py')
-rwxr-xr-xbparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bparser.py b/bparser.py
index 9d85597..fb4af1f 100755
--- a/bparser.py
+++ b/bparser.py
@@ -186,7 +186,7 @@ def p_args_single_pos(t):
def p_args_single_kw(t):
'args : expression COLON statement'
a = nodes.Arguments(t.lineno(1))
- a.set_kwarg(t[1], t[2])
+ a.set_kwarg(t[1], t[3])
t[0] = a
def p_posargs_none(t):