From 0c47cee455fa05ad2fd108dbc80cd33dd3b60b1d Mon Sep 17 00:00:00 2001
From: Joakim Gebart <joakim.gebart@eistec.se>
Date: Tue, 24 Feb 2015 11:03:29 +0100
Subject: [PATCH] keyword_space.sed: Add \b to avoid changing functions which
 end with the same letters as the keywords.

---
 keyword_space.sed | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/keyword_space.sed b/keyword_space.sed
index 39a43c7765..0be480408a 100644
--- a/keyword_space.sed
+++ b/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/! /!/
-- 
GitLab