Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/lint1 lint: clean up an empty line and the doc...
details: https://anonhg.NetBSD.org/src/rev/7e8a47570702
branches: trunk
changeset: 366795:7e8a47570702
user: rillig <rillig%NetBSD.org@localhost>
date: Wed Jun 15 18:11:02 2022 +0000
description:
lint: clean up an empty line and the documentation
No functional change.
diffstat:
tests/usr.bin/xlint/lint1/d_gcc_compound_statements1.c | 4 ++--
usr.bin/xlint/lint1/README.md | 6 +++---
usr.bin/xlint/lint1/ckbool.c | 5 ++---
3 files changed, 7 insertions(+), 8 deletions(-)
diffs (65 lines):
diff -r d2ba12d5e922 -r 7e8a47570702 tests/usr.bin/xlint/lint1/d_gcc_compound_statements1.c
--- a/tests/usr.bin/xlint/lint1/d_gcc_compound_statements1.c Wed Jun 15 18:06:51 2022 +0000
+++ b/tests/usr.bin/xlint/lint1/d_gcc_compound_statements1.c Wed Jun 15 18:11:02 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: d_gcc_compound_statements1.c,v 1.10 2022/05/31 00:35:18 rillig Exp $ */
+/* $NetBSD: d_gcc_compound_statements1.c,v 1.11 2022/06/15 18:11:02 rillig Exp $ */
# 3 "d_gcc_compound_statements1.c"
/* GCC compound statement with expression */
@@ -6,7 +6,7 @@
/*
* Compound statements are only allowed in functions, not at file scope.
*
- * Before decl.c 1.283 from 2022-05-21, lint crashed with a segmentation
+ * Before decl.c 1.283 from 2022-05-31, lint crashed with a segmentation
* fault due to the unused label.
*/
int invalid_gcc_statement_expression = ({
diff -r d2ba12d5e922 -r 7e8a47570702 usr.bin/xlint/lint1/README.md
--- a/usr.bin/xlint/lint1/README.md Wed Jun 15 18:06:51 2022 +0000
+++ b/usr.bin/xlint/lint1/README.md Wed Jun 15 18:11:02 2022 +0000
@@ -1,4 +1,4 @@
-[//]: # ($NetBSD: README.md,v 1.4 2022/04/16 20:18:51 rillig Exp $)
+[//]: # ($NetBSD: README.md,v 1.5 2022/06/15 18:11:02 rillig Exp $)
# Introduction
@@ -59,9 +59,9 @@
## tnode_t
-When lint parses an expressions,
+When lint parses an expression,
it builds a tree of nodes representing the AST.
-Each node has an operator, which defines which other members may be accessed.
+Each node has an operator that defines which other members may be accessed.
The operators and their properties are defined in `ops.def`.
Some examples for operators:
diff -r d2ba12d5e922 -r 7e8a47570702 usr.bin/xlint/lint1/ckbool.c
--- a/usr.bin/xlint/lint1/ckbool.c Wed Jun 15 18:06:51 2022 +0000
+++ b/usr.bin/xlint/lint1/ckbool.c Wed Jun 15 18:11:02 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ckbool.c,v 1.15 2022/05/20 21:18:55 rillig Exp $ */
+/* $NetBSD: ckbool.c,v 1.16 2022/06/15 18:11:02 rillig Exp $ */
/*-
* Copyright (c) 2021 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID)
-__RCSID("$NetBSD: ckbool.c,v 1.15 2022/05/20 21:18:55 rillig Exp $");
+__RCSID("$NetBSD: ckbool.c,v 1.16 2022/06/15 18:11:02 rillig Exp $");
#endif
#include <string.h>
@@ -141,7 +141,6 @@
typeok_scalar_strict_bool(op_t op, const mod_t *mp, int arg,
const tnode_t *ln,
const tnode_t *rn)
-
{
tspec_t lt, rt;
Home |
Main Index |
Thread Index |
Old Index