mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* data/glr.cc, data/lalr1.cc: Using %defines is mandatory.
* data/glr.cc: b4_location_flag is now b4_locations_flag.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2006-05-14 Akim Demaille <akim@lrde.epita.fr>
|
||||
|
||||
* data/glr.cc, data/lalr1.cc: Using %defines is mandatory.
|
||||
* data/glr.cc: b4_location_flag is now b4_locations_flag.
|
||||
|
||||
2006-05-14 Akim Demaille <akim@lrde.epita.fr>
|
||||
|
||||
Implement --trace=m4.
|
||||
|
||||
@@ -46,11 +46,14 @@ m4_divert(-1) -*- C -*-
|
||||
# user must initialize the first positions (in particular the
|
||||
# filename member).
|
||||
|
||||
|
||||
# We require a pure interface using locations.
|
||||
m4_define([b4_location_flag], [1])
|
||||
m4_define([b4_locations_flag], [1])
|
||||
m4_define([b4_pure_flag], [1])
|
||||
|
||||
# The header is mandatory.
|
||||
b4_defines_if([],
|
||||
[m4_fatal(b4_skeleton[: using %defines is mandatory])])
|
||||
|
||||
m4_include(b4_pkgdatadir/[c++.m4])
|
||||
m4_include(b4_pkgdatadir/[location.cc])
|
||||
|
||||
|
||||
@@ -20,6 +20,11 @@ m4_divert(-1)
|
||||
# 02110-1301 USA
|
||||
|
||||
m4_include(b4_pkgdatadir/[c++.m4])
|
||||
|
||||
# The header is mandatory.
|
||||
b4_defines_if([],
|
||||
[m4_fatal(b4_skeleton[: using %defines is mandatory])])
|
||||
|
||||
# Backward compatibility.
|
||||
m4_define([b4_location_constructors])
|
||||
m4_include(b4_pkgdatadir/[location.cc])
|
||||
|
||||
Reference in New Issue
Block a user