Browse Source

keyword_space.sed: Add \b to avoid changing functions which end with the same letters as the keywords.

dev/timer
Joakim Gebart 8 years ago
parent
commit
0c47cee455
  1. 12
      keyword_space.sed

12
keyword_space.sed

@ -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/! /!/

Loading…
Cancel
Save