Merge pull request #2489 from gebart/pr/keyword-space-word-boundary

keyword_space.sed: Add \b to avoid changing functions which end with the same letters as the keywords.
dev/timer
Joakim Gebart 9 years ago
commit 3167477af3

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