Boost logo

Boost-Commit :

From: jurko.gospodnetic_at_[hidden]
Date: 2008-01-08 20:09:27


Author: jurko
Date: 2008-01-08 20:09:26 EST (Tue, 08 Jan 2008)
New Revision: 42626
URL: http://svn.boost.org/trac/boost/changeset/42626

Log:
Minor stylistic code indentation changes.
Text files modified:
   trunk/tools/jam/src/builtins.c | 38 +++++++++++++++++++-------------------
   1 files changed, 19 insertions(+), 19 deletions(-)

Modified: trunk/tools/jam/src/builtins.c
==============================================================================
--- trunk/tools/jam/src/builtins.c (original)
+++ trunk/tools/jam/src/builtins.c 2008-01-08 20:09:26 EST (Tue, 08 Jan 2008)
@@ -840,37 +840,37 @@
 
         for( l = lol_get( frame->args, 0 ); l; l = l->next )
         {
- /* Result is cached and intentionally never freed */
+ /* Result is cached and intentionally never freed */
             regexp *re = regex_compile( l->string );
 
             /* For each string to match against */
- for( r = lol_get( frame->args, 1 ); r; r = r->next )
+ for( r = lol_get( frame->args, 1 ); r; r = r->next )
+ {
+ if( regexec( re, r->string ) )
             {
- if( regexec( re, r->string ) )
- {
- int i, top;
+ int i, top;
 
- /* Find highest parameter */
+ /* Find highest parameter */
 
- for( top = NSUBEXP; top-- > 1; )
- if( re->startp[top] )
- break;
+ for( top = NSUBEXP; top-- > 1; )
+ if( re->startp[top] )
+ break;
 
- /* And add all parameters up to highest onto list. */
- /* Must have parameters to have results! */
+ /* And add all parameters up to highest onto list. */
+ /* Must have parameters to have results! */
 
- for( i = 1; i <= top; i++ )
- {
- string_append_range( buf, re->startp[i], re->endp[i] );
- result = list_new( result, newstr( buf->value ) );
- string_truncate( buf, 0 );
- }
+ for( i = 1; i <= top; i++ )
+ {
+ string_append_range( buf, re->startp[i], re->endp[i] );
+ result = list_new( result, newstr( buf->value ) );
+ string_truncate( buf, 0 );
                 }
             }
         }
+ }
 
- string_free( buf );
- return result;
+ string_free( buf );
+ return result;
 }
 
 LIST *


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk