2014-07-29  Basile Starynkevitch  <basile@starynkevitch.net>

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

	* melt/melt-macro.melt (class_source_compile_diagnostic): New
	class with scdiag_msg & scdiag_expr fields.
	(class_source_compilewarning): Rename as...
	(class_source_compile_warning, class_source_compile_errors): New
	subclass of class_source_compile_diagnostic
	(mexpand_compile_warning): Use error_at.
	(mexpand_compile_error): New expander for ...
	(compile_error): New language macro.

	* melt/melt-normal.melt (normexp_compilewarning): Renamed as...
	(normexp_compile_warning): Use scdiag_msg & scdiag_expr.
	(normexp_compile_error): New method for normal_exp on
	class_source_compile_error

	* melt/warmelt-hooks.melt (add_pragma_handler): Mention
	@file{libmelt-ana-tree.melt} not @file{xtramelt-ana-tree.melt} in
	documentation.

	* melt/libmelt-ana-tree.melt (tree_function_decl_named_of_type)
	(tree_function_decl_of_type_and_result): New cmatchers.



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

	* melt/generated/*: Regenerate all.



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

	* melt/melt-macro.melt (class_source_compile_warning): Remove old
	scwarn_msg & scwarn_expr fields.
	(mexpand_compile_warning): Likewise.

	* testsuite/melt/tpragma-1.melt: New file.
	* testsuite/melt/tpragmacode-1.c: New file.



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

	* INSTALL/README-MELT-PLUGIN: mention date of 1.1 release.

[gcc/]

2014-07-29  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-runtime.cc (melt_really_initialize): Use a curmodstr, dont
	change modstr.

	* melt/warmelt-hooks.melt (register_pragma_processor)
	(hook_register_pragmas, remove_pragma_handler): More debug.
	(connect_to_server): Check the length of the service string.

	* melt/libmelt-ana-tree.melt (melt_register_pragmas_callback): Add
	counter & debug.
	(melt_pragma_process_callback): Add debug.
	(register_expanded_pragma, register_plain_pragma): Check name and
	correctly extract its namestr.
	(real_pragma_processor): More debug.

	* testsuite/melt/tpragma-1.melt: Improve command in comment.



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

	* melt/generated/*: Regenerate all.



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

	* melt/warmelt-hooks.melt: Improve comment.
	* melt/libmelt-ana-base.melt: Likewise.
	* melt/libmelt-ana-tree: Likewise, and ...
	(inside_c_frontend): New primitive.
	(real_pragma_processor): Retrieve directly the namestr. More
	debug.  Added final code to register PLUGIN_PRAGMAS when
	inside_c_frontend gives true.
	* testsuite/melt/tpragmacode-1.c: Use the #pragma 



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

	* testsuite/melt/tpragmacode-1.c: Add a zerofun function.



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

	* melt-runtime.cc (melt_cbreak_at, melt_sparebreakpoint_0_at)
	(melt_sparebreakpoint_1_at, melt_sparebreakpoint_2_at): Add
	comment.

	* melt/warmelt-hooks.melt (register_pragma_processor)
	(hook_process_pragma, hook_register_pragmas): More debug.

	* melt/libmelt-ana-tree.melt (pragma_lex): Improve documentation.
	(register_plain_pragma, register_expanded_pragma): Likewise.  Use
	interned strings as arguments to c_register_pragma_with_data &
	c_register_pragma_with_expansion_and_data.

	* testsuite/melt/tpragma-1.melt: Should compile with -Wall, and
	adding a chunk for melt_cbreak.

	* testsuite/melt/tpragmacode-1.c: Use twice the pragma.



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

	* melt/libmelt-ana-tree.melt (real_pragma_processor): The space
	can be nil, even now the caller is setting it by default to
	:melt... Also, more debugging.



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

	{{tpragma-1 test is ok}}
	* testsuite/melt/tpragma-1.melt: Improve command in comment.

	* testsuite/melt/tpragmacode-1.c: Invoke the right pragma!



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

	* melt/libmelt-ana-tree.melt (tree_qual_union_type)
	(tree_qual_union_type_with_fields): Exported.
	(tree_union_type, tree_union_type_with_fields): New.



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

	* melt/warmelt-outobj.melt (read_melt_expressions): Improve
	diagnostic messages.



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

	* melt/warmelt-outobj.melt (read_melt_expressions): Correct bad
	inform_at call...


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

	* melt/warmelt-debug.melt (melt_debug_fun): Add final flush.



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