diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-08-17 15:07:43 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-08-17 15:10:57 -0700 |
commit | b2f0954ef99f18ab2bec7b5a5b79cfb29cdc0c1f (patch) | |
tree | 23f7fb754ad40d650ef85b728e9d4e29ee2cf1e1 /makefile | |
parent | ccc5eb730e628801e1d021b387c8e6b8428f1ba3 (diff) | |
download | mu-b2f0954ef99f18ab2bec7b5a5b79cfb29cdc0c1f.tar.gz |
3217
Fix a new warning from Perl.
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile index 7c2c7542..66b92ba9 100644 --- a/makefile +++ b/makefile @@ -33,7 +33,7 @@ autogenerated_lists: mu.cc function_list test_list function_list: mu.cc @# functions start out unindented, have all args on the same line, and end in ') {' @# ignore methods - @grep -h "^[^[:space:]#].*) {$$" mu.cc |grep -v ":.*(" |perl -pwe 's/ {.*/;/' > function_list + @grep -h "^[^[:space:]#].*) {$$" mu.cc |grep -v ":.*(" |perl -pwe 's/ \{.*/;/' > function_list @# occasionally we need to modify a declaration in a later layer without messing with ugly unbalanced brackets @# assume such functions move the '{' to column 0 of the very next line @grep -v "^#line" mu.cc |grep -B1 "^{" |grep -v "^{" |perl -pwe 's/$$/;/' >> function_list @@ -42,7 +42,7 @@ function_list: mu.cc # autogenerated list of tests to run test_list: mu.cc - @grep -h "^\s*void test_" mu.cc |perl -pwe 's/^\s*void (.*)\(\) {.*/$$1,/' > test_list + @grep -h "^\s*void test_" mu.cc |perl -pwe 's/^\s*void (.*)\(\) \{.*/$$1,/' > test_list @grep -h "^\s*TEST(" mu.cc |perl -pwe 's/^\s*TEST\((.*)\)$$/test_$$1,/' >> test_list # |