Skip to content
New issue

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

Macro expansion #12

Open
yhuelf opened this issue Dec 17, 2013 · 0 comments
Open

Macro expansion #12

yhuelf opened this issue Dec 17, 2013 · 0 comments

Comments

@yhuelf
Copy link
Contributor

yhuelf commented Dec 17, 2013

It would be nice if macros were expanded before coccigrep process the files, but I can't think of a very convenient solution.

For a single file I would do something like:
grep -v "^#include" | cpp | coccigrep -t foo -a bar

But ideally the user shouldn't have to think about it. If someone has an idea...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant