=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/rcsparse.c,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/usr.bin/cvs/rcsparse.c 2011/05/04 17:37:33 1.5 --- src/usr.bin/cvs/rcsparse.c 2012/02/04 21:22:32 1.6 *************** *** 1,4 **** ! /* $OpenBSD: rcsparse.c,v 1.5 2011/05/04 17:37:33 nicm Exp $ */ /* * Copyright (c) 2010 Tobias Stoeckmann * --- 1,4 ---- ! /* $OpenBSD: rcsparse.c,v 1.6 2012/02/04 21:22:32 tobias Exp $ */ /* * Copyright (c) 2010 Tobias Stoeckmann * *************** *** 924,944 **** } return (ret); /* NOTREACHED */ ! case ':': type = RCS_TOK_COLON; if (type & allowed) return (type); rcsparse_warnx(rfp, "unexpected token \"%c\"", c); return (0); /* NOTREACHED */ ! case ';': type = RCS_TOK_SCOLON; if (type & allowed) return (type); rcsparse_warnx(rfp, "unexpected token \"%c\"", c); return (0); /* NOTREACHED */ ! case ',': type = RCS_TOK_COMMA; if (type & allowed) return (type); --- 924,944 ---- } return (ret); /* NOTREACHED */ ! case ':': type = RCS_TOK_COLON; if (type & allowed) return (type); rcsparse_warnx(rfp, "unexpected token \"%c\"", c); return (0); /* NOTREACHED */ ! case ';': type = RCS_TOK_SCOLON; if (type & allowed) return (type); rcsparse_warnx(rfp, "unexpected token \"%c\"", c); return (0); /* NOTREACHED */ ! case ',': type = RCS_TOK_COMMA; if (type & allowed) return (type);