diff options
author | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2012-02-04 21:22:33 +0000 |
---|---|---|
committer | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2012-02-04 21:22:33 +0000 |
commit | 45bbb3e60425cb31ca89b57b2b8e775c97638385 (patch) | |
tree | 95b668193b473af5d7a5aa469be481cba088d274 | |
parent | bb41b0340a6e9caff24b2a76825f21ed89e01dcb (diff) |
Sync rcsparse between OpenCVS/OpenRCS. Spaces, no binary change.
-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); |