Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [TCS] Problem with symbols
[TCS] Problem with symbols [message #601601] Fri, 01 June 2007 10:43
Guillaume Hillairet is currently offline Guillaume Hillairet
Messages: 81
Registered: July 2009

I've got a problem with symbols in TCS and i don't know why.

I've got a template like this :

template PrefixDecl
: "PREFIX" prefix <no_space> ":" "<" <no_space> uri <no_space> ">"
which is supposed to parse a line like this one :
PREFIX truc: <much>

and in symbol section
symbols {
colon = ":" : leftNone, rightSpace;
gt = ">";
lt = "<";

But i've got this error during execution
[am3.loadModel] Error: 1:12: expecting COLON, found ':'.
[am3.loadModel] Error: 2:11: expecting COLON, found ':'.

Is there anyone who can tell me why the symbols colon is not recognize as

Previous Topic:[oaw] outsourcing of java-extensions in xtend
Next Topic:[MOFSCRIPT] version 1.2.1 is not working
Goto Forum:

Current Time: Wed Aug 20 22:41:58 EDT 2014

Powered by FUDForum. Page generated in 0.01444 seconds