summaryrefslogtreecommitdiff
path: root/dmake/parse.c
diff options
context:
space:
mode:
authorKen Foskey <waratah@openoffice.org>2002-10-11 12:42:49 +0000
committerKen Foskey <waratah@openoffice.org>2002-10-11 12:42:49 +0000
commitbc95f59574c8d2535fa028e8a6af09f826725801 (patch)
tree5d0d413043879f3fc13b8fe3ce0b3e9c2188de73 /dmake/parse.c
parent68496a2957e2f4b7bb2b8a943236ea4859905bf2 (diff)
dmake: Implement fix for Lost child problem. Correct some checks for functions (assumed present) and also fix up all gcc warnings using -Wall.
Diffstat (limited to 'dmake/parse.c')
-rw-r--r--dmake/parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dmake/parse.c b/dmake/parse.c
index c7bf8bf76880..834ca1dbb635 100644
--- a/dmake/parse.c
+++ b/dmake/parse.c
@@ -1,4 +1,4 @@
-/* RCS $Id: parse.c,v 1.1.1.1 2000-09-22 15:33:25 hr Exp $
+/* RCS $Id: parse.c,v 1.2 2002-10-11 13:42:43 waratah Exp $
--
-- SYNOPSIS
-- Parse the input, and perform semantic analysis
@@ -105,7 +105,7 @@ FILE *fil;
}
else if( *p == ']' )
Fatal( "Found unmatched ']'" );
- else if( *pTmpBuf && *p || (Notabs && !*pTmpBuf && !*p))
+ else if( (*pTmpBuf && *p) || (Notabs && !*pTmpBuf && !*p))
State = NORMAL_SCAN;
}