Skip to content

Commit

Permalink
keyword_space.sed: Add \b to avoid changing functions which end with …
Browse files Browse the repository at this point in the history
…the same letters as the keywords.
  • Loading branch information
Joakim Gebart authored and OlegHahm committed Mar 31, 2015
1 parent 6eb088d commit 91e3b1d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions keyword_space.sed
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
s/if(/if (/
s/switch(/switch (/
s/case(/case (/
s/while(/while (/
s/for(/for (/
s/do(/do (/
s/\bif(/if (/
s/\bswitch(/switch (/
s/\bcase(/case (/
s/\bwhile(/while (/
s/\bfor(/for (/
s/\bdo(/do (/
s/! /!/

0 comments on commit 91e3b1d

Please sign in to comment.