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 PR/45666: Nicolas Joly: lint(1) wrong 's...
details: https://anonhg.NetBSD.org/src/rev/2de5bac69739
branches: trunk
changeset: 772225:2de5bac69739
user: christos <christos%NetBSD.org@localhost>
date: Sun Dec 25 01:05:03 2011 +0000
description:
PR/45666: Nicolas Joly: lint(1) wrong 'syntax error' message
diffstat:
usr.bin/xlint/lint1/cgram.y | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (40 lines):
diff -r d5f8a0832bc5 -r 2de5bac69739 usr.bin/xlint/lint1/cgram.y
--- a/usr.bin/xlint/lint1/cgram.y Sat Dec 24 23:54:26 2011 +0000
+++ b/usr.bin/xlint/lint1/cgram.y Sun Dec 25 01:05:03 2011 +0000
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: cgram.y,v 1.51 2011/12/19 16:52:27 njoly Exp $ */
+/* $NetBSD: cgram.y,v 1.52 2011/12/25 01:05:03 christos Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: cgram.y,v 1.51 2011/12/19 16:52:27 njoly Exp $");
+__RCSID("$NetBSD: cgram.y,v 1.52 2011/12/25 01:05:03 christos Exp $");
#endif
#include <stdlib.h>
@@ -107,7 +107,7 @@
#endif
%}
-%expect 7
+%expect 5
%union {
int y_int;
@@ -1804,9 +1804,11 @@
T_NAME {
$$ = $1;
}
+/*
| T_TYPENAME {
$$ = $1;
}
+*/
;
%%
Home |
Main Index |
Thread Index |
Old Index