Paolo Carlini <paolo.carl...@oracle.com> writes:

> @@ -972,21 +972,20 @@ ucn_valid_in_identifier (cpp_reader *pfile, cppcha
>     or 0060 (`), nor one in the range D800 through DFFF inclusive.
>  
>     *PSTR must be preceded by "\u" or "\U"; it is assumed that the
> -   buffer end is delimited by a non-hex digit.  Returns zero if the
> -   UCN has not been consumed.
> +   buffer end is delimited by a non-hex digit.  Returns one if the
> +   UCN has not been consumed, zero otherwise.

The name of the function would make more sense if it returned a boolean
with true meaning success.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to