Return to rcsparse.c CVS log | Up to [local] / src / usr.bin / rcs |
version 1.6, 2011/05/04 17:37:33 | version 1.7, 2011/07/14 16:38:39 | ||
---|---|---|---|
|
|
||
} | } | ||
return (ret); | return (ret); | ||
/* NOTREACHED */ | /* NOTREACHED */ | ||
case ':': | case ':': | ||
type = RCS_TOK_COLON; | type = RCS_TOK_COLON; | ||
if (type & allowed) | if (type & allowed) | ||
return (type); | return (type); | ||
rcsparse_warnx(rfp, "unexpected token \"%c\"", c); | rcsparse_warnx(rfp, "unexpected token \"%c\"", c); | ||
return (0); | return (0); | ||
/* NOTREACHED */ | /* NOTREACHED */ | ||
case ';': | case ';': | ||
type = RCS_TOK_SCOLON; | type = RCS_TOK_SCOLON; | ||
if (type & allowed) | if (type & allowed) | ||
return (type); | return (type); | ||
rcsparse_warnx(rfp, "unexpected token \"%c\"", c); | rcsparse_warnx(rfp, "unexpected token \"%c\"", c); | ||
return (0); | return (0); | ||
/* NOTREACHED */ | /* NOTREACHED */ | ||
case ',': | case ',': | ||
type = RCS_TOK_COMMA; | type = RCS_TOK_COMMA; | ||
if (type & allowed) | if (type & allowed) | ||
return (type); | return (type); |