2014-01-17  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-base.melt (multiple_sort): Commented out a
	std::stable_sort based sorting function which fails to compile
	yet.

	* melt/warmelt-normal.melt (normexp_hook_call): Slightly improved
	error message for arity mismatch.

	* melt/xtramelt-playground.melt: Add testing of inform_at...



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@206701 138bc75d-0d04-0410-961f-82ee72b054a4

2014-01-17  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/generated/*: Regenerate all.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@206730 138bc75d-0d04-0410-961f-82ee72b054a4

2014-01-18  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-runtime.h: Improve comment regarding melt_assermsg.

	* melt/warmelt-first.melt (register_option): Inform that it is
	obsolete. To be removed.
	(multiple_sort): Add a comment that it should be replaced by a
	function from warmelt-base.melt

	* melt/warmelt-base.melt: Add thru cheader an #include of <vector>
	and <algorithm>, and a global declaration of
	Melt_Sort_Compare_Index class in the generated code.
	(multiple_sort_new): New function which should replace the old
	multiple_sort primitive. Uses std::stable_sort with
	Melt_Sort_Compare_Index.  See
	http://stackoverflow.com/q/21201685/841108 for details.

	* melt/warmelt-normatch.melt: Remove register_option for
	alternate_match.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@206748 138bc75d-0d04-0410-961f-82ee72b054a4

2014-01-18  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/generated/*: Regenerated.

	* melt-predef.list (HOOK_SORT_COMPARE_LESS): New, to replace the
	badly named HOOK_SORT_COMPARE...

	* melt/warmelt-base.melt (HOOK_SORT_COMPARE_LESS): New hook.
	(HOOK_SORT_COMPARE): Should become obsolete.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@206751 138bc75d-0d04-0410-961f-82ee72b054a4

2014-01-18  Basile Starynkevitch  <basile@starynkevitch.net> @POISON

	* melt-predef.list (HOOK_SORT_COMPARE): Poisoned.

	* melt/warmelt-base.melt (hook_sort_compare): Remove since renamed
	as....
	(hook_sort_compare_less): Better, since rename old
	hook_sort_compare
	(multiple_sort_new): Use hook_sort_compare_less.




git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@206752 138bc75d-0d04-0410-961f-82ee72b054a4

2014-01-18  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/generated/*: Regenerated.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@206754 138bc75d-0d04-0410-961f-82ee72b054a4

2014-01-18  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-predef.list (HOOK_SORT_COMPARE): Remove.
	* melt/generated/warmelt-normal.cc: Manually replace
	HOOK_SORT_COMAPRE with HOOK_SORT_COMPARE_LESS...



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@206755 138bc75d-0d04-0410-961f-82ee72b054a4

2014-01-18  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/generated/*: Regenerated.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@206757 138bc75d-0d04-0410-961f-82ee72b054a4

2014-01-18  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-base.melt: Reindented various valdesc_* code chunks.
	(multiple_sort_new): Add debugeprintf.

	* testsuite/melt/tmulsort.melt: New test file.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@206758 138bc75d-0d04-0410-961f-82ee72b054a4

2014-01-18  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-base.melt (multiple_sort_new): The discriminant
	formal is named DIS. Added debug messages. Works.
	(multiple_sort): Is synonym of multiple_sort_new.

	* testsuite/melt/tmulsort.melt: More debug messages. Works.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@206760 138bc75d-0d04-0410-961f-82ee72b054a4

2014-01-18  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/generated/*: Regenerated.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@206761 138bc75d-0d04-0410-961f-82ee72b054a4

2014-01-18  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-base.melt (mapobject_sorted_attribute_tuple):
	Copied here. Should be removed from warmelt-first.melt...

	* testsuite/melt/tmulsort.melt: Simplified.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@206762 138bc75d-0d04-0410-961f-82ee72b054a4

2014-01-18  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/generated/*: Regenerated.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@206763 138bc75d-0d04-0410-961f-82ee72b054a4

2014-01-18  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-first.melt (multiple_sort)
	(mapobject_sorted_attribute_tuple): Remove, since moved into
	warmelt-base.melt

	* melt/warmelt-base.melt (multiple_sort_new): Removed, since
	renamed as...
	(multiple_sort): The definitive name for the function. Was a
	primitive in warmelt-first.melt.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@206764 138bc75d-0d04-0410-961f-82ee72b054a4

2014-01-18  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-runtime.cc (meltgc_sort_multiple): Obsolete
	function. Replaced by multiple_sort MELT function.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@206765 138bc75d-0d04-0410-961f-82ee72b054a4

2014-01-18  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-runtime.h (meltgc_sort_multiple): Remove declaration.

	* melt-runtime.cc (meltgc_sort_multiple): Remove function.

	* melt/warmelt-first.melt (hook_intern_symbol): Remove
	dbgintern_chk code chunk.

	* melt/generated/warmelt-first+01.cc: Manually remove call to
	meltgc_sort_multiple.
	* melt/generated/warmelt-first.cc: Ditto.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@206766 138bc75d-0d04-0410-961f-82ee72b054a4


2014-01-18  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/generated/*: Regenerated.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@206767 138bc75d-0d04-0410-961f-82ee72b054a4