From c69944ff8b31c61dd4cfced84ebc95670cc4f31c Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 15 Oct 2018 19:22:40 +0200 Subject: [PATCH] doc: do not advertise %nterm Reported by Rici Lake. http://lists.gnu.org/archive/html/bug-bison/2018-10/msg00000.html * NEWS, doc/bison.texi: here. --- NEWS | 4 ++-- doc/bison.texi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 7a039021..d8a21e53 100644 --- a/NEWS +++ b/NEWS @@ -26,8 +26,8 @@ GNU Bison NEWS %% %token INT "int"; - %nterm > int; - %nterm >> list; + %type > int; + %type >> list; list: %empty {} diff --git a/doc/bison.texi b/doc/bison.texi index f633f1c9..3fddfe50 100644 --- a/doc/bison.texi +++ b/doc/bison.texi @@ -9198,11 +9198,11 @@ The following grammar file, @file{calc.y}, will be used in the sequel: @end group @group %token NUM -%nterm exp +%type exp @end group @group %token STR -%nterm useless +%type useless @end group @group %left '+' '-'