Thank for your fast reply. I had an newline at the end of the file.

Kacper Gutowski schrieb:
On Sun, May 10, 2009 at 16:39, Philipp Klose <[email protected]> wrote:
I tried to use NXML as described on the nekovm website, but whenever it
include any nxml-tag into the source file the nekoc complains about:
 "Unexpected <"
Is there any nekoc parameter or anything I have to add for compiling to
nxml?

You don't need any special options. It should be more emphasised
in documentation though that first 6 bytes of NXML file have to be
literally "<nxml>" and last 7 bytes must be equal to "</nxml>".

Note: there must be NO newline after closing tag for compiler
to recognize file as NXML.

I had this problem some time ago until I found parse_multiformat
function in neko/Main.nml which is responsible for this.


Kacper

--
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to