(nextarg): Use bool for booleans.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Aug 2004 06:00:24 +0000 (06:00 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Aug 2004 06:00:24 +0000 (06:00 +0000)
src/expr.c

index a6f5477..46016ca 100644 (file)
@@ -358,14 +358,14 @@ toarith (VALUE *v)
     }
 }
 
-/* Return nonzero and advance if the next token matches STR exactly.
+/* Return true and advance if the next token matches STR exactly.
    STR must not be NULL.  */
 
 static bool
 nextarg (char const *str)
 {
   if (*args == NULL)
-    return 0;
+    return false;
   else
     {
       bool r = STREQ (*args, str);