EDIT: I missed the part about not wanting to expand macros in code. Try something like this:
That should hide the macros in code from CPP unless you choose really weird names.$ perl -pe 'y/A-Za-z/N-ZA-Mn-za-m/ unless /^\s*#/' < INPUT | cpp - | \ perl -pe 'y/A-Za-z/N-ZA-Mn-za-m/ unless /^\s*#/ > OUTPUT'
In reply to Re: C code pre-processor
by educated_foo
in thread C code pre-processor
by dgsmith_50
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |