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 14:43
Guillaume Hillairet is currently offline Guillaume Hillairet
Messages: 83
Registered: July 2009
Member
Hi,

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
":"

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


Current Time: Wed Oct 22 21:56:46 GMT 2014

Powered by FUDForum. Page generated in 0.01725 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software