mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
%define: accept unquoted values.
* NEWS (2.5): Group all %define changes together, and document this one. Remove quotes in IELR and canonical LR entry. * doc/bison.texinfo: Remove quotes in most examples throughout. (Decl Summary): Update %define documentation. (Table of Symbols): Likewise. * src/ielr.c (LrType): Update documentation. * src/parse-gram.y (content.opt): Add production for ID. * tests/actions.at: Remove quotes in most tests. * tests/calc.at: Likewise. * tests/existing.at: Likewise. * tests/input.at: Likewise. * tests/local.at: Likewise. * tests/push.at: Likewise. * tests/reduce.at: Likewise. * tests/torture.at: Likewise.
This commit is contained in:
@@ -29,7 +29,7 @@ AT_SETUP([Mid-rule actions])
|
||||
# action.
|
||||
|
||||
AT_DATA_GRAMMAR([[input.y]],
|
||||
[[%define parse.error "verbose"
|
||||
[[%define parse.error verbose
|
||||
%debug
|
||||
%{
|
||||
# include <stdio.h>
|
||||
@@ -93,7 +93,7 @@ AT_CLEANUP
|
||||
AT_SETUP([Exotic Dollars])
|
||||
|
||||
AT_DATA_GRAMMAR([[input.y]],
|
||||
[[%define parse.error "verbose"
|
||||
[[%define parse.error verbose
|
||||
%debug
|
||||
%{
|
||||
# include <stdio.h>
|
||||
@@ -557,7 +557,7 @@ m4_define([AT_CHECK_PRINTER_AND_DESTRUCTOR],
|
||||
|
||||
$3
|
||||
_AT_CHECK_PRINTER_AND_DESTRUCTOR($[1], $[2], $[3], $[4],
|
||||
[%define parse.error "verbose"
|
||||
[%define parse.error verbose
|
||||
%debug
|
||||
%verbose
|
||||
%locations
|
||||
@@ -588,7 +588,7 @@ AT_CHECK_PRINTER_AND_DESTRUCTOR([%glr-parser], [with union])
|
||||
AT_SETUP([Default tagless %printer and %destructor])
|
||||
|
||||
AT_DATA_GRAMMAR([[input.y]],
|
||||
[[%define parse.error "verbose"
|
||||
[[%define parse.error verbose
|
||||
%debug
|
||||
%locations
|
||||
%initial-action {
|
||||
@@ -706,7 +706,7 @@ AT_CLEANUP
|
||||
AT_SETUP([Default tagged and per-type %printer and %destructor])
|
||||
|
||||
AT_DATA_GRAMMAR([[input.y]],
|
||||
[[%define parse.error "verbose"
|
||||
[[%define parse.error verbose
|
||||
%debug
|
||||
|
||||
%{
|
||||
@@ -850,7 +850,7 @@ m4_define([_AT_CHECK_DEFAULT_PRINTER_AND_DESTRUCTOR_FOR_END_TOKEN],
|
||||
[m4_pushdef([kind], [*]) m4_pushdef([not_kind], [])])
|
||||
|
||||
AT_DATA_GRAMMAR([[input]]$1[[.y]],
|
||||
[[%define parse.error "verbose"
|
||||
[[%define parse.error verbose
|
||||
%debug
|
||||
%locations
|
||||
%initial-action {
|
||||
|
||||
Reference in New Issue
Block a user