lalrl1.cc: give a chance to user defined YYLLOC_DEFAULT.

* data/lalr1.cc (YYLLOC_DEFAULT): Move its definition from the
	header file to the implementation file, after the user %code
	sections.
	* NEWS: Document it.

Conflicts:

	ChangeLog
	data/lalr1.cc
This commit is contained in:
Akim Demaille
2010-05-12 11:12:24 +02:00
parent e7bab2df96
commit 3d4a0cad56
3 changed files with 35 additions and 20 deletions

7
NEWS
View File

@@ -215,6 +215,13 @@ Bison News
} \
while (false)
** YYLLOC_DEFAULT in C++
The default implementation of YYLLOC_DEFAULT used to be issued in
the header file. It is now output in the implementation file, after
the user %code sections so that its #ifndef guard does not try to
override the user's YYLLOC_DEFAULT if provided.
* Changes in version 2.4.3 (????-??-??):
** Problems with spawning M4 on at least FreeBSD 8 and FreeBSD 9 have