From: Morgan Deters Date: Fri, 11 May 2012 20:13:28 +0000 (+0000) Subject: fix regex in Debug_tags and Trace_tags generation for Mac OS X-Git-Tag: cvc5-1.0.0~8185 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=56bd7f581bdf1cf48db9f018a71dff22af123535;p=cvc5.git fix regex in Debug_tags and Trace_tags generation for Mac OS --- diff --git a/src/util/Makefile.am b/src/util/Makefile.am index 612cccba0..4787457cf 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am @@ -130,9 +130,9 @@ endif # expression (no |, no \<, ...). Debug_tags.tmp Trace_tags.tmp: $(AM_V_GEN)\ - grep '\<$(@:_tags.tmp=)\(\.isOn\)\? *( *\".*\" *)' \ + grep '\<$(@:_tags.tmp=)\(\.isOn\)* *( *\".*\" *)' \ `find @srcdir@/../ -name "*.cpp" -or -name "*.h" -or -name "*.cc" -or -name "*.g"` | \ - sed 's/^$(@:_tags.tmp=)\(\.isOn\)\? *( *\"\([^"]*\)\".*/\2/;s/.*[^a-zA-Z0-9_]$(@:_tags.tmp=)\(\.isOn\)\? *( *\"\([^"]*\)\".*/\2/' | sort | uniq >"$@" + sed 's/^$(@:_tags.tmp=)\(\.isOn\)* *( *\"\([^"]*\)\".*/\2/;s/.*[^a-zA-Z0-9_]$(@:_tags.tmp=)\(\.isOn\)* *( *\"\([^"]*\)\".*/\2/' | LC_ALL=C sort | uniq >"$@" if CVC4_CLN_IMP libutil_la_SOURCES += \