From 793fcf5fcea2e218fbc7fa356019399b26f005f8 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 24 Aug 2015 14:19:52 -0700 Subject: 2067 --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'makefile') 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 -- cgit 1.4.1-2-gfad0