Commit Graph

10 Commits

Author SHA1 Message Date
Jussi Pakkanen b55235dfbd Fix space before :. 2016-12-31 16:28:15 +02:00
Igor Gnatenko 1df8c5c62b tools/ac_converter: couple of trivial fixes (#867)
W: 31, 4: Duplicate key 'HAVE_UNSETENV' in dictionary (duplicate-key)

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>

* tools/ac_converter: fix undefined variable 'func'

E:283,11: Undefined variable 'func' (undefined-variable)

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>

* tools/ac_converter: use spaces properly in HAVE_SOCKET

C: 97, 0: Exactly one space required after comma
     'HAVE_SOCKET' : ('socket',' sys/socket.h'),
                              ^ (bad-whitespace)

This also might cause some issue after conversion.

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-10-07 21:04:46 +03:00
Iain Lane 84d5f97b21 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.
2016-09-04 15:57:09 +01:00
Elliott Sales de Andrade 859c5e28df Use context manager in scripts. 2016-08-30 04:17:47 -04:00
Jussi Pakkanen af0e3e2675 Use our config template rather than Autoconf's. 2016-08-14 10:31:58 +03:00
Jussi Pakkanen 7f4ecfc742 A few more checks for ac converter tool. 2016-08-13 19:30:28 +03:00
Jussi Pakkanen f663465b6b Convert socket checks. 2016-07-28 20:06:41 +03:00
Jussi Pakkanen 134468d4a5 A few more checks for converter. 2015-11-20 12:33:09 +02:00
Jussi Pakkanen 324a262680 More checks for converter. 2015-11-12 20:49:59 +02:00
Jussi Pakkanen 02185132d2 Moved new ac converter from wrap repo and made shebang line use env. Closes #256. 2015-09-04 22:05:01 +03:00