octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MSVC compiler support [patch 11]: CRUFT.DLL exported symbols


From: Michael Goffioul
Subject: Re: MSVC compiler support [patch 11]: CRUFT.DLL exported symbols
Date: Fri, 27 Oct 2006 23:23:50 +0200
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

John W. Eaton a écrit :
Rather than restrict input to having just 6 spaces, I checked in the
following change.

Thanks,

jwe


Index: libcruft/mkf77def.in
===================================================================
RCS file: /cvs/octave/libcruft/mkf77def.in,v
retrieving revision 1.1
diff -u -u -r1.1 mkf77def.in
--- libcruft/mkf77def.in        26 Oct 2006 20:50:04 -0000      1.1
+++ libcruft/mkf77def.in        27 Oct 2006 14:20:35 -0000
@@ -25,5 +25,7 @@
   awkcmd="$AWK '{ printf (\"%s%s\n\", tolower (\$0), \"$uscore\"); }'"
 fi
-$SED -n -e 's/^[ \t]*\([Ff][Uu][Nn][Cc][Tt][Ii][Oo][Nn]\|[Ss][Uu][Bb][Rr][Oo][Uu][Tt][Ii][Nn][Ee]\|[Ee][Nn][Tt][Rr][Yy]\)[ \t]*\([^ \t(]*\).*$/\2/p' | \
+$SED -n \
+  -e 'y/ABCDEFGHIJLKMNOPQRSTUVWXYZ/abcdefghijlkmnopqrstuvwxyz/' \
+  -e 's/^\(      \|\t\)[ \t]*\(.*function\|subroutine\|entry\)[ \t]*\([^ 
\t(]*\).*$/\3/p' | \
   eval $awkcmd

As far as I could test it, the SED under MSYS does not know about "\t" and match it with a regular "t". This then truncates any function name containing a "t".

Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]