diff options
-rw-r--r-- | usr.bin/cvs/rcsparse.c | 8 | ||||
-rw-r--r-- | usr.bin/rcs/rcsparse.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/cvs/rcsparse.c b/usr.bin/cvs/rcsparse.c index 149a6faed5c..737d212e038 100644 --- a/usr.bin/cvs/rcsparse.c +++ b/usr.bin/cvs/rcsparse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsparse.c,v 1.5 2011/05/04 17:37:33 nicm Exp $ */ +/* $OpenBSD: rcsparse.c,v 1.6 2012/02/04 21:22:32 tobias Exp $ */ /* * Copyright (c) 2010 Tobias Stoeckmann <tobias@openbsd.org> * @@ -924,21 +924,21 @@ rcsparse_token(RCSFILE *rfp, int allowed) } return (ret); /* NOTREACHED */ - case ':': + case ':': type = RCS_TOK_COLON; if (type & allowed) return (type); rcsparse_warnx(rfp, "unexpected token \"%c\"", c); return (0); /* NOTREACHED */ - case ';': + case ';': type = RCS_TOK_SCOLON; if (type & allowed) return (type); rcsparse_warnx(rfp, "unexpected token \"%c\"", c); return (0); /* NOTREACHED */ - case ',': + case ',': type = RCS_TOK_COMMA; if (type & allowed) return (type); diff --git a/usr.bin/rcs/rcsparse.c b/usr.bin/rcs/rcsparse.c index b3f99b3e02f..b4b9ef7d05b 100644 --- a/usr.bin/rcs/rcsparse.c +++ b/usr.bin/rcs/rcsparse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsparse.c,v 1.7 2011/07/14 16:38:39 sobrado Exp $ */ +/* $OpenBSD: rcsparse.c,v 1.8 2012/02/04 21:22:32 tobias Exp $ */ /* * Copyright (c) 2010 Tobias Stoeckmann <tobias@openbsd.org> * @@ -1145,7 +1145,7 @@ rcsparse_deltatext(RCSFILE *rfp) if (!(rfp->rf_flags & PARSED_DESC)) if ((ret = rcsparse_desc(rfp))) return (ret); - + if (rcsparse(rfp, sec_deltatext)) return (-1); |