* lang/SyntaxTemplate.java (print_template_program): Update
	commented-out debugging helper.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7686 5e0a886f-7f45-49c5-bc19-40643649e37f
Fix some javadoc-comment typos.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7687 5e0a886f-7f45-49c5-bc19-40643649e37f
	* ObjectType.java (getReflectClass): Simplify since we can
	now assume that Throwable#getCause is available.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7688 5e0a886f-7f45-49c5-bc19-40643649e37f
	* syntax.scm (%simple-construct-builder): Fix logic error.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7689 5e0a886f-7f45-49c5-bc19-40643649e37f
	* lang/Translator.java (resolveModule): Reset current line
	position, so we don't have "dangling" line numbers from a
	previous phase.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7690 5e0a886f-7f45-49c5-bc19-40643649e37f
	* SimpleVector.java (size): Make protected.

	* CharArrayInPort.java (<init>): New constructor taking FString.
	(make): Make method static.  Use new constructor.

	* IsEqual.java (apply): Use size method rather than field.
	* ParseFormat.java (asFormat): Likewise.

	* ports.scm (open-input-string, call-with-input-string):
	Use more-general factory method CharArrayInPort:make.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7691 5e0a886f-7f45-49c5-bc19-40643649e37f
	* syntax.scm (%string-format-format, %string-format-args): Fix
	implementation of $string$ to better handle direct non-enclosed
	expressions (such as nested $construct$ forms not inside an
	enclosed expression). These should be treated as enclosed forms,
	formatted using "~a", rather than just calling toString.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7692 5e0a886f-7f45-49c5-bc19-40643649e37f
	* lang/Translator.java (define): We may need an alias if the
	current scope is not the scope for the definition.
	This fixes Savannah bug #40616 "Unhygienic syntax-rules".

	* mac-test.scm: Test from Savannah bug #40616
	"Unhygienic syntax-rules".


git-svn-id: http://sourceware.org/svn/kawa/trunk@7693 5e0a886f-7f45-49c5-bc19-40643649e37f
	* mac-test.scm: Add example from Kawa "internals" documentation.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7694 5e0a886f-7f45-49c5-bc19-40643649e37f
	* lang/Translator.java (define): When creating an alias, the
	generated name should be an uninterned symbol, not an uninterned
	String, since NameLookup#lookup uses equals when comparing names.

	* mac-test.scm: Another test from Savannah bug #40616
	"Unhygienic syntax-rules".


git-svn-id: http://sourceware.org/svn/kawa/trunk@7695 5e0a886f-7f45-49c5-bc19-40643649e37f
	* InPort.java (openFile): Allow conversion specifier to be a
	Charset or a CharsetDecoder.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7696 5e0a886f-7f45-49c5-bc19-40643649e37f
	* BinaryOutPort.java: Generalize the text-port aspect so the
	text concoding can be other than just Latin1, with optimized
	non-buffering support for UTF-8.
	(class OutputStreamWriterLatin1): Rename to OutputStreamWriterSimple
	since it now also supports UTF-8.
	* OutPort.java (outInitial, errInitial): Change these to
	BinaryOutPorts.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7697 5e0a886f-7f45-49c5-bc19-40643649e37f
	* Expression.java (checkLiteralKeyword): New method.

	* CompileMisc.java (validateApplyMakeProcedure):
	Use new checkLiteralKeyword method.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7698 5e0a886f-7f45-49c5-bc19-40643649e37f
	* Q2Apply.java (apply): Use Values.writeValues.  This makes
	SRFI-108 and SRFI-109 literals work in Q2.

	* indent1.q2: Update output.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7699 5e0a886f-7f45-49c5-bc19-40643649e37f
Add comment about failure.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7700 5e0a886f-7f45-49c5-bc19-40643649e37f
	* CompileMisc.java (compileCallCC): When inlining function being
	called, create a dummy ApplyExp rather than just callingf its body.
	This fixes Savannah bug #40649 "NPE in inline-compiler for CallCC".

	* sva40649.scm: New test for Savannah bug #40649 "NPE in
	inline-compiler for CallCC", plus some related tests.
	* Makefile.am: Update accordingly.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7701 5e0a886f-7f45-49c5-bc19-40643649e37f
	* BinaryOutPort.java: Avoid dependency on Java 7 class
	java.nio.charset.StandardCharsets.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7702 5e0a886f-7f45-49c5-bc19-40643649e37f
Merge branch 'master' into fork
	* PrettyWriter.java (buffer): Allocate a non-zero-length buffer.
	(setPrettyPrintingMode, setSharing): Don't need to ensure space.
	(isPassingThrough): Add comment noting this is now always false.

	* BinaryOutPort.java (makeStandardPort, openFile): Don't need to
	allocate a BufferedWriter, since PrettyWriter does buffering.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7703 5e0a886f-7f45-49c5-bc19-40643649e37f
Don't use @Override for a method implementing an interface;
Java 5 doesn't like it.


git-svn-id: http://sourceware.org/svn/kawa/trunk@7704 5e0a886f-7f45-49c5-bc19-40643649e37f