Commit Graph

15 Commits

Author SHA1 Message Date
Jussi Pakkanen 4c00297112 Improve ac_converter to print a help message. 2017-07-31 11:20:09 +01:00
Jussi Pakkanen cdfb416425 Removed duplicate key in dictionary. 2017-07-16 12:01:01 +03:00
Jussi Pakkanen 5311a274e3 A few typo fixes in the converter script. 2017-06-04 20:19:15 +03:00
Jussi Pakkanen 83e778118d Added more functions to the list of checks. 2017-06-04 14:14:14 +03:00
Igor Gnatenko 969dc7e995 style: fix E124 violations
E124: closing bracket does not match visual indentation

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2017-01-01 12:02:05 -05:00
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