Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » how to support directives in source parser
icon5.gif  how to support directives in source parser [message #492607] Wed, 21 October 2009 02:41
gxRocky  is currently offline gxRocky Friend
Messages: 1
Registered: July 2009
Junior Member

I am using DLTK to build an IDE for An internal language, The language support "directive" like

#if(DEBUG)
......
#else
......
#endif

the value of "DEBUG" is setting in project setting, so I must access the project setting before parse the source file.
But DLTK only provide this method in source parser
"ModuleDeclaration parse(char[] fileName, char[] source, IProblemReporter reporter);"


Any solution for this kind of situation?
Previous Topic:dltk javascript tutorial
Next Topic:Editing Remote files
Goto Forum:
  


Current Time: Tue Dec 23 01:05:20 GMT 2014

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

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