From 84d5f97b21a52cc71e7204c76b646d7cf85f5e62 Mon Sep 17 00:00:00 2001 From: Iain Lane Date: Sun, 4 Sep 2016 15:57:09 +0100 Subject: [PATCH] loop over `sizes' I ran `ac_converter.py`, and it crashed ``` Traceback (most recent call last): File "ac_converter.py", line 299, in for elem, typename in size: ``` I think it's a typo like this. --- tools/ac_converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ac_converter.py b/tools/ac_converter.py index e88f2e2bb..c7c9f449d 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('''