diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-01-18 08:31:46 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-01-18 08:31:46 +0000 |
commit | b033f6d86cecb0bd3a9be6f83ee6d6c420e1f1e9 (patch) | |
tree | 6c44570396de24f097d188e2d6b789ceb7a09c30 /dmake/parse.c | |
parent | INTEGRATION: CWS dmake47 (1.1.144); FILE MERGED (diff) | |
download | core-b033f6d86cecb0bd3a9be6f83ee6d6c420e1f1e9.tar.gz core-b033f6d86cecb0bd3a9be6f83ee6d6c420e1f1e9.zip |
INTEGRATION: CWS dmake47 (1.6.6); FILE MERGED
2006/10/07 20:23:15 vq 1.6.6.1: #i70027# Fix diagnostic output and add a testcase.
Diffstat (limited to 'dmake/parse.c')
-rw-r--r-- | dmake/parse.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dmake/parse.c b/dmake/parse.c index cf3f44e42867..834a7bfc7f8d 100644 --- a/dmake/parse.c +++ b/dmake/parse.c @@ -1,6 +1,6 @@ /* $RCSfile: parse.c,v $ --- $Revision: 1.6 $ --- last change: $Author: ihi $ $Date: 2006-06-29 11:24:25 $ +-- $Revision: 1.7 $ +-- last change: $Author: vg $ $Date: 2007-01-18 09:31:46 $ -- -- SYNOPSIS -- Parse the input, and perform semantic analysis @@ -45,15 +45,15 @@ FILE *fil; Group = FALSE; /* true if scanning a group rcpe */ while( TRUE ) { if( Get_line( Buffer, fil ) ) { - if( fil != NIL( FILE ) ) /* end of parsable input */ - Closefile(); - if( Group ) Fatal( "Incomplete rule recipe group detected" ); /* If we are still in RULE_SCAN mode there might be unbound recipes. */ if( State == RULE_SCAN ) Bind_rules_to_targets( F_DEFAULT ); + if( fil != NIL( FILE ) ) /* end of parsable input */ + Closefile(); + DB_VOID_RETURN; } else { |