2014-08-11  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-runtime.h (MELT_VERSION_STRING): Bump to 1.1.rc1

	* melt/warmelt-first.melt (discr_double, discr_constant_double):
	Use MELTOBMAG_DOUBLE.

	* melt/warmelt-hooks.melt (json_lexer): More debug.

	* testsuite/melt/tjson-1.melt: add 3.14 to test parsing of double
	numbers.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@213823 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-11  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-runtime.h: include <math.h>
	(melt_get_double): New unboxing function.

	* melt/warmelt-first.melt (discr_constant_double, discr_double):
	Exported.

	* melt/warmelt-base.melt (add2out_double): New.
	(add2out): Handle :double data.

	* melt/warmelt-debug.melt (dbgout_double_method): New method for
	dbg_output on discr_double.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@213825 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-11  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/generated/*: Regenerated.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@213826 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-11  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/generated/*: Regenerated.
	* melt/generated/warmelt-debug+03.cc: New file.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@213827 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-11  Basile Starynkevitch  <basile@starynkevitch.net>

	{{MELT plugin 1.1.1 release}}
	* INSTALL/README-MELT-PLUGIN: mention date of 1.1.1 release.


[gcc/]
2014-08-11  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-runtime.h (MELT_VERSION_STRING): Bump to 1.1.1



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@213828 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-13  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.h (MELT_VERSION_STRING): Bump to 1.1.1+
	(melt_get_double): Commented debug.

	* melt/warmelt-base.melt (valdesc_double): The val should be
	declared double.

	* gcc/testsuite/melt/tjson-3.melt: New file.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@213900 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-13  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.h (melt_get_double): Typo!



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@213902 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-13  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/warmelt-base.melt (valdesc_double): The val should be
	declared GTY((skip)) double.

	* melt/generated/*: Regenerate all.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@213907 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-13  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-runtime.cc (melt_open_ppfile): Better error message on
	failure.

	* melt/warmelt-first.melt (non-null): New primitive.

	* melt/warmelt-hooks (melt_register_gcc_attribute_at): New function.
	(register_gcc_attribute): Becomes a macro.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@213911 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-13  Basile Starynkevitch  <basile@starynkevitch.net>

	{{start adding generic GCC attribute support}}
	* melt-runtime.h (MELT_VERSION_STRING): Bump to 1.1.2pre1.

	* melt-predef.list (HOOK_HANDLE_ATTRIBUTE): New.

	* melt/warmelt-hooks.melt: Adding cheader & cimplement -notably
	melt_attribute_handler_glue stub- for attributes.
	(hook_handle_attribute): New predefined hook stub.
	(melt_register_gcc_attribute_at): More but still incomplete.

	* melt/libmelt-ana-tree.melt: Improve comment in cheader.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@213920 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-13  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/generated/*: Regenerate.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@213923 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-13  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-hooks.melt (at_melt_attribute_first)
	(at_melt_attribute_last): Improve :doc with missing closing brace
	for @code...



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@213925 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-13  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.h (MELT_VERSION_STRING): Bump to 1.1.2pre2.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@213926 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-13  Basile Starynkevitch  <basile@starynkevitch.net>

	* testsuite/melt/tattr-1.melt: New file.
	* testsuite/melt/tattrcode-1.c: New file.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@213927 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-13  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-normal.melt (normexp_mixed_location): New method
	for normal_exp on discr_mixed_location.

	* testsuite/melt/tattr-1.melt: Improve comment.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@213928 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-13  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-normal.melt (normexp_mixed_location): Improved.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@213929 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-13  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/generated/*: Regenerate.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@213930 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-14  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-normal.melt (normexp_mixed_location): Quote the
	filename.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@213938 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-14  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-runtime.h: include "plugin.h".

	* melt/warmelt-hooks.melt (melt_register_gcc_attribute_at): Call
	register_attribute. This should be moved to some closure passed to
	at_melt_attribute_first or elsewhere....

	* testsuite/melt/tattrcode-1.c: Attribute moved to function declaration.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@213940 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-14  Basile Starynkevitch  <basile@starynkevitch.net>

	{{Remove old melt attribute, replacing it by general attributes}}
	* melt-predef.list (HOOK_INSTALL_ATTRIBUTES): New.
	(HOOK_MELT_ATTRIBUTE_DEFINER): Poisoned.

	* melt-runtime.cc (handle_melt_attribute): Remove function.
	(melt_attr_spec): Remove variable.
	(melt_attribute_callback): Should call the hook_install_attributes.

	* melt/warmelt-hooks.melt (attribute_definer_delayed_queue)
	(hook_melt_attribute_definer, at_melt_attribute_first)
	(at_melt_attribute_last): Remove.
	(hook_install_attributes): New stub.



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