Module Name:    src
Committed By:   rillig
Date:           Wed Jun 15 18:11:02 UTC 2022

Modified Files:
        src/tests/usr.bin/xlint/lint1: d_gcc_compound_statements1.c
        src/usr.bin/xlint/lint1: README.md ckbool.c

Log Message:
lint: clean up an empty line and the documentation

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 \
    src/tests/usr.bin/xlint/lint1/d_gcc_compound_statements1.c
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/xlint/lint1/README.md
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/xlint/lint1/ckbool.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/usr.bin/xlint/lint1/d_gcc_compound_statements1.c
diff -u src/tests/usr.bin/xlint/lint1/d_gcc_compound_statements1.c:1.10 src/tests/usr.bin/xlint/lint1/d_gcc_compound_statements1.c:1.11
--- src/tests/usr.bin/xlint/lint1/d_gcc_compound_statements1.c:1.10	Tue May 31 00:35:18 2022
+++ src/tests/usr.bin/xlint/lint1/d_gcc_compound_statements1.c	Wed Jun 15 18:11:02 2022
@@ -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 = ({

Index: src/usr.bin/xlint/lint1/README.md
diff -u src/usr.bin/xlint/lint1/README.md:1.4 src/usr.bin/xlint/lint1/README.md:1.5
--- src/usr.bin/xlint/lint1/README.md:1.4	Sat Apr 16 20:18:51 2022
+++ src/usr.bin/xlint/lint1/README.md	Wed Jun 15 18:11:02 2022
@@ -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 @@ it needs to be copied using `block_dup_t
 
 ## 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:
 

Index: src/usr.bin/xlint/lint1/ckbool.c
diff -u src/usr.bin/xlint/lint1/ckbool.c:1.15 src/usr.bin/xlint/lint1/ckbool.c:1.16
--- src/usr.bin/xlint/lint1/ckbool.c:1.15	Fri May 20 21:18:55 2022
+++ src/usr.bin/xlint/lint1/ckbool.c	Wed Jun 15 18:11:02 2022
@@ -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 @@ bool
 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;
 

Reply via email to