nickdiego / compiledb

Tool for generating Clang's JSON Compilation Database files for make-based build systems.
GNU General Public License v3.0
1.38k stars 123 forks source link

Use bashlex to tokenize input lines #48

Closed nickdiego closed 6 years ago

nickdiego commented 6 years ago

Currently bashlex is only being used partially to preprocess the substitution commands (commonly used in autotools generated makefiles). This task is to refactor parsing code to use the bashlex to parse the command lines into a list of CommandNode/WordNode to better extract compilation commands even from complex shell constructions.

nickdiego commented 6 years ago

Fixed in 52e07d858