Commit d4df2ea5 by Richard Kenner

Allow white space between `#' and `if' when looking for lines to

patch.

From-SVN: r9823
parent 863415d1
...@@ -289,7 +289,7 @@ while [ $# != 0 ]; do ...@@ -289,7 +289,7 @@ while [ $# != 0 ]; do
/#define[ ]*[ ]CTRL/ s/'\''\([cgx]\)'\''/\1/g /#define[ ]*[ ]CTRL/ s/'\''\([cgx]\)'\''/\1/g
/#define[ ]*[ ]_CTRL/ s/'\''\([cgx]\)'\''/\1/g /#define[ ]*[ ]_CTRL/ s/'\''\([cgx]\)'\''/\1/g
/#define.BSD43_CTRL/ s/'\''\([cgx]\)'\''/\1/g /#define.BSD43_CTRL/ s/'\''\([cgx]\)'\''/\1/g
/#[el]*if/{ /#[ ]*[el]*if/{
s/[a-zA-Z0-9_][a-zA-Z0-9_]*/ & /g s/[a-zA-Z0-9_][a-zA-Z0-9_]*/ & /g
s/ bsd4\([0-9]\) / __bsd4\1__ /g s/ bsd4\([0-9]\) / __bsd4\1__ /g
......
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