about summary refs log tree commit diff stats
path: root/tangle
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-08-17 15:07:43 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-08-17 15:10:57 -0700
commitb2f0954ef99f18ab2bec7b5a5b79cfb29cdc0c1f (patch)
tree23f7fb754ad40d650ef85b728e9d4e29ee2cf1e1 /tangle
parentccc5eb730e628801e1d021b387c8e6b8428f1ba3 (diff)
downloadmu-b2f0954ef99f18ab2bec7b5a5b79cfb29cdc0c1f.tar.gz
3217
Fix a new warning from Perl.
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