Commit 44b962f2 by Bruce Korb

Clarify the second argument usage for "c-fix"-es.

From-SVN: r131550
parent 5af3679c
...@@ -230,11 +230,11 @@ MAKING CHANGES TO INCLHACK.DEF ...@@ -230,11 +230,11 @@ MAKING CHANGES TO INCLHACK.DEF
c_fix_arg = "#define[ \t]+([A-Z][A-Z0-9a-z_]*).*"; c_fix_arg = "#define[ \t]+([A-Z][A-Z0-9a-z_]*).*";
This would wrap a one line #define inside of a "#ifndef"/"#endif" This would wrap a one line #define inside of a "#ifndef"/"#endif"
pair. The second "c_fix_arg" may be omitted *IF* there is a select pair. The second "c_fix_arg" may be omitted *IF* there is at least
clause and the first one identifies the text you wish to reformat. one select clause and the first one identifies the text you wish to
It will then be used as the second "c_fix_arg". You may delete the reformat. It will then be used as the second "c_fix_arg". You may
selected text by supplying an empty string for the format (the first delete the selected text by supplying an empty string for the
"c_fix_arg"). replacement format (the first "c_fix_arg").
Note: In general, a format c_fix may be used in place of one Note: In general, a format c_fix may be used in place of one
sed expression. However, it will need to be rewritten by sed expression. However, it will need to be rewritten by
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment