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>
8 years ago
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.
8 years ago
Elliott Sales de Andrade
859c5e28df
Use context manager in scripts.
8 years ago
Jussi Pakkanen
af0e3e2675
Use our config template rather than Autoconf's.
8 years ago
Jussi Pakkanen
7f4ecfc742
A few more checks for ac converter tool.
8 years ago
Jussi Pakkanen
f663465b6b
Convert socket checks.
8 years ago
Jussi Pakkanen
134468d4a5
A few more checks for converter.
9 years ago
Jussi Pakkanen
324a262680
More checks for converter.
9 years ago
Jussi Pakkanen
02185132d2
Moved new ac converter from wrap repo and made shebang line use env. Closes #256 .
9 years ago
Jussi Pakkanen
575ef27f37
Convert project name.
11 years ago
Jussi Pakkanen
029ed965e2
Convert some pkg-config declarations.
11 years ago
Jussi Pakkanen
0ff7fd40ba
Some simple autoconf parsing.
11 years ago
Jussi Pakkanen
98895a6c91
Simple target converter.
11 years ago
Jussi Pakkanen
a1988277bd
Traverse the entire autotools tree.
11 years ago
Jussi Pakkanen
79f6f38a16
Skeleton for converting autotools projects.
11 years ago
Jussi Pakkanen
4b43d30309
Convert test declarations.
11 years ago
Jussi Pakkanen
9abe913a1f
Convert library targets.
11 years ago
Jussi Pakkanen
355371374c
Convert executable command.
11 years ago
Jussi Pakkanen
7c6861268a
Convert build options.
11 years ago
Jussi Pakkanen
abebfe7927
More convertisizising.
11 years ago
Jussi Pakkanen
eef91d1b2f
Working if else indents.
11 years ago
Jussi Pakkanen
451f6247f3
Convert function arguments.
11 years ago
Jussi Pakkanen
18cee0fca2
Convert a few more functions, can generate a simple skeleton.
11 years ago
Jussi Pakkanen
0c31155b0a
Convert some function types.
11 years ago
Jussi Pakkanen
c8184965c4
Comments are converted. Yay!
11 years ago
Jussi Pakkanen
053cc2e5f8
Converter is a class.
11 years ago
Jussi Pakkanen
4063efcf6a
Store whole token.
11 years ago
Jussi Pakkanen
6d3e9be0e5
Some moar fixing.
11 years ago
Jussi Pakkanen
4652088c18
Work further into LLVM parsing.
11 years ago
Jussi Pakkanen
951e6d1f82
Better error message.
11 years ago
Jussi Pakkanen
e8c6c09717
Count line and column numbers.
11 years ago
Jussi Pakkanen
f64ba79033
Regexp fine tuning, can not parse LLVM yet.
11 years ago
Jussi Pakkanen
4fe17f484f
Recurse to subdirectories.
11 years ago
Jussi Pakkanen
371e747ca4
Can parse a basic CMake list.
11 years ago
Jussi Pakkanen
3a4cdb843b
Can now lex all of libcolumbus.
11 years ago
Jussi Pakkanen
7d25129c03
Parse some code.
11 years ago
Jussi Pakkanen
e7ca0ab09b
Experiment on writing a CMake converter.
11 years ago