Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/lint2 Skip the current character before parsin...
details: https://anonhg.NetBSD.org/src/rev/7b593ecd9525
branches: trunk
changeset: 1023235:7b593ecd9525
user: christos <christos%NetBSD.org@localhost>
date: Mon Aug 30 14:57:04 2021 +0000
description:
Skip the current character before parsing the number of arguments.
diffstat:
usr.bin/xlint/lint2/read.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r a9fb8df770dc -r 7b593ecd9525 usr.bin/xlint/lint2/read.c
--- a/usr.bin/xlint/lint2/read.c Mon Aug 30 13:12:16 2021 +0000
+++ b/usr.bin/xlint/lint2/read.c Mon Aug 30 14:57:04 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: read.c,v 1.58 2021/08/29 10:18:17 rillig Exp $ */
+/* $NetBSD: read.c,v 1.59 2021/08/30 14:57:04 christos Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: read.c,v 1.58 2021/08/29 10:18:17 rillig Exp $");
+__RCSID("$NetBSD: read.c,v 1.59 2021/08/30 14:57:04 christos Exp $");
#endif
#include <ctype.h>
@@ -137,6 +137,7 @@
parse_short(const char **p)
{
+ (*p)++;
return (short)parse_int(p);
}
Home |
Main Index |
Thread Index |
Old Index