From c23396f6a11a225639f26e871bffc29f6ea96eed Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Wed, 3 Jan 2007 09:17:05 +0000 Subject: [PATCH] Fix generating template macros list --- docs/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/Makefile b/docs/Makefile index ae3b87e..cd634e9 100755 --- a/docs/Makefile +++ b/docs/Makefile @@ -34,7 +34,9 @@ tokentpl.txt: ../golded3/gemsgs.cpp @echo '==========================================================================' >> $@ echo '* These macroses is line prefixes for the template file.' >> $@ @echo '==========================================================================' >> $@ - cat ../golded3/getpls.cpp | sed -ne '/CSTR_COMMA_SIZEOF_CSTR/s/\s*{\s*CSTR_COMMA_SIZEOF_CSTR("\(\w*\)")\s*},\{0,1\}/@\1/p'| sort -u >> $@ + cat ../golded3/getpls.cpp | sed -ne cat ../golded3/getpls.cpp \ + | sed -ne '/ \{0,1\}{ CSTR_COMMA_SIZEOF_CSTR("/s/.\{1,\}"\(\w\{1,\}\)".\{1,\}/@\1/p' \ + | sort -u >> $@ @echo '==========================================================================' >> $@ # { CSTR_COMMA_SIZEOF_CSTR("write") },