compiledb
compiledb copied to clipboard
dir_stack.pop() IndexError: pop from empty list
when i tried to generator compile_commands.json from a makefile build log, it stopped and printed error :
compiledb\parser.py", line 127, in parse_build_log
dir_stack.pop()
IndexError: pop from empty list
i added a few debug log myself , so the line number may not be accurate but close . btw, what does the number in "make[3]" , "make[5]" mean ? i think these numbers are not cared by compiledb yet .
@Zero-Fanker Could you attach the build log?
The number is about the depth of recursion. You should get the point from https://stackoverflow.com/questions/27943149/what-does-numbers-in-make1-make2-make3-mean and https://stackoverflow.com/questions/12842469/makes-output-the-number-in-the-brackets.