aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorIain Lane <iain@orangesquash.org.uk>2016-09-04 15:57:09 +0100
committerGitHub <noreply@github.com>2016-09-04 15:57:09 +0100
commit84d5f97b21a52cc71e7204c76b646d7cf85f5e62 (patch)
tree66e3d0fd539bd6b6710d7750c4f6491741b34f58 /tools
parentbd23131eca16d9d779d61a202a965396d99dde29 (diff)
downloadmeson-84d5f97b21a52cc71e7204c76b646d7cf85f5e62.zip
meson-84d5f97b21a52cc71e7204c76b646d7cf85f5e62.tar.gz
meson-84d5f97b21a52cc71e7204c76b646d7cf85f5e62.tar.bz2
loop over `sizes'
I ran `ac_converter.py`, and it crashed ``` Traceback (most recent call last): File "ac_converter.py", line 299, in <module> for elem, typename in size: ``` I think it's a typo like this.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ac_converter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ac_converter.py b/tools/ac_converter.py
index e88f2e2..c7c9f44 100755
--- a/tools/ac_converter.py
+++ b/tools/ac_converter.py
@@ -296,7 +296,7 @@ endforeach
# Convert sizeof checks.
-for elem, typename in size:
+for elem, typename in sizes:
print("cdata.set('%s', cc.sizeof('%s'))" % (elem, typename))
print('''