diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-08-24 14:19:52 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-08-24 14:19:52 -0700 |
commit | 793fcf5fcea2e218fbc7fa356019399b26f005f8 (patch) | |
tree | 6b44228eaf137023e0144607e00400e5a96ade37 /makefile | |
parent | 91e4967619e66ac17da37f135c8ce6a26632d40c (diff) | |
download | mu-793fcf5fcea2e218fbc7fa356019399b26f005f8.tar.gz |
2067
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile index a46a9c41..27d4cbd6 100644 --- a/makefile +++ b/makefile @@ -30,8 +30,8 @@ autogenerated_lists: mu.cc function_list test_list # autogenerated list of function declarations, so I can define them in any order 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 + @# ignore methods + @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 |