about summary refs log tree commit diff stats
path: root/tangle
diff options
context:
space:
mode:
Diffstat (limited to 'tangle')
-rw-r--r--tangle/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tangle/makefile b/tangle/makefile
index e1322345..f7c2ee6c 100644
--- a/tangle/makefile
+++ b/tangle/makefile
@@ -13,7 +13,7 @@ type_list: boot.cc [0-9]*.cc
 
 function_list: boot.cc [0-9]*.cc
 	@# assumes function decl has space before '{'
-	@grep -h "^[^ #].*) {" [0-9]*.cc |perl -pwe 's/ {.*/;/' > function_list
+	@grep -h "^[^ #].*) {" [0-9]*.cc |perl -pwe 's/ \{.*/;/' > function_list
 
 file_list: boot.cc [0-9]*.cc
 	@ls [0-9]*.cc |grep -v "\.test\.cc$$" |perl -pwe 's/.*/#include "$$&"/' > file_list
@@ -22,7 +22,7 @@ test_file_list: [0-9]*.test.cc
 	@ls [0-9]*.test.cc |perl -pwe 's/.*/#include "$$&"/' > test_file_list
 
 test_list: [0-9]*.cc
-	@grep -h "^[[:space:]]*void test_" [0-9]*.cc |perl -pwe 's/^\s*void (.*)\(\) {$$/$$1,/' > test_list
+	@grep -h "^[[:space:]]*void test_" [0-9]*.cc |perl -pwe 's/^\s*void (.*)\(\) \{$$/$$1,/' > test_list
 
 clean:
 	-rm tangle *_list