Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[Dltk-dev] how to support directives in source parser

Hi:

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 parser the source file.
But the source parser only provide method
                "ModuleDeclaration parse(char[] fileName, char[] source, IProblemReporter reporter);"


Any solution for this kind of situation?

BR.
Rocky

Back to the top