We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version: using master at commit 88ec08e Found this while trying to build kernel with compiledb.
> cat a.log gcc -DKBUILD_MODNAME='"swap"' ./swap.c > compiledb --parse a.log ## Processing build commands from a.log ## Writing compilation database with 1 entries to compile_commands.json ## Done. > cat compile_commands.json [ { "directory": "/tmp", "arguments": [ "gcc", "-DKBUILD_MODNAME=swap", "./swap.c" ], "file": "./swap.c" } ]
The single quotes in the argument disappear.
The text was updated successfully, but these errors were encountered:
I noticed the same thing building Git (compiledb make).
compiledb make
Sorry, something went wrong.
This seems to be an issue with bashlex, e.g.:
In [1]: import bashlex In [2]: bashlex.parse("""gcc -DVERSION='"1.2.3.4"'""") Out[2]: [CommandNode(parts=[WordNode(parts=[] pos=(0, 3) word='gcc'), WordNode(parts=[] pos=(4, 25) word='-DVERSION=1.2.3.4')] pos=(0, 25))]
This might be related to idank/bashlex#26 and/or idank/bashlex#56.
No branches or pull requests
Version: using master at commit 88ec08e
Found this while trying to build kernel with compiledb.
The single quotes in the argument disappear.
The text was updated successfully, but these errors were encountered: