[Tinyos-commits] CVS: tinyos-1.x/tools/scripts/codeGeneration
generateNescDecls.pl, 1.3, 1.4
Kamin Whitehouse
kaminw at users.sourceforge.net
Tue Nov 28 13:51:20 PST 2006
Update of /cvsroot/tinyos/tinyos-1.x/tools/scripts/codeGeneration
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv31780
Modified Files:
generateNescDecls.pl
Log Message:
fixed the regexp to pickup typedefs with white space before the semicolon
Index: generateNescDecls.pl
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tools/scripts/codeGeneration/generateNescDecls.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** generateNescDecls.pl 18 Jan 2006 15:47:33 -0000 1.3
--- generateNescDecls.pl 28 Nov 2006 21:51:17 -0000 1.4
***************
*** 129,133 ****
#find all single line typedefs
! while ( $appText =~ m|typedef\s+([\w\s]*?)\s+(\w+);|g ) {
my %typedef;
$typedef{name} = $2;
--- 129,133 ----
#find all single line typedefs
! while ( $appText =~ m|typedef\s+([\w\s]*?)\s+(\w+)\s*;|g ) {
my %typedef;
$typedef{name} = $2;
More information about the Tinyos-commits
mailing list