summaryrefslogtreecommitdiffstats
path: root/tools/sed-functions
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-16 18:13:32 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-16 18:13:32 +0200
commit56af88aeceb10b0c66f4a26227e8980654c6c587 (patch)
tree3187b9d44ef9aac1cc23e3d0608ced696e91c430 /tools/sed-functions
parentbf681e9e90adf99357f754284703ea2c6dc3ff4e (diff)
downloadffi-efl-56af88aeceb10b0c66f4a26227e8980654c6c587.zip
ffi-efl-56af88aeceb10b0c66f4a26227e8980654c6c587.tar.gz
add gitignore, extract api into ./tools/api
Diffstat (limited to 'tools/sed-functions')
-rw-r--r--tools/sed-functions6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/sed-functions b/tools/sed-functions
index bcd57d0..9438459 100644
--- a/tools/sed-functions
+++ b/tools/sed-functions
@@ -1,8 +1,8 @@
# if return type on single line, append next line
-/EAPI.*[^;] *$/ { N; s/\n/ / }
+/EAPI.*[^;]\s*$/ { N; s/\n/ / }
# while unfinished argument list, append next line
:loop
/,$/ { N; s/\n/ /; t loop }
-s/ \{2,\}/ /g
-s/^ *EAPI/EAPI/p
+s/ {2,}/ /g
+s/^\s*EAPI/EAPI/p