
Hi,
I use the SyntaxLanguageParsingExtension with Parse(ISyntaxLanguage, Text)
Before, the SyntaxLanguage is created, and when creating the SyntaxLanguage, it is initialized by a self-defined langdef-File for the syntax.
When debugging, the method
public override ActiproSoftware.Text.Parsing.IParseData Parse(ActiproSoftware.Text.Parsing.IParseRequest request)
is reached.
ITextSnapshotReader was created successfully, but
IToken token = reader.ReadToken();
returns no token:
TOKEN == null.
The reader now does not recognize tokens, it reads sign by sign.
I use a dynamic lexer and did only use the langdef-File for initializing the SyntaxLanguage. No special TokenReader is implemented.
But parsing with an editor does work perfectly.
What did I forgot or made wrong?
Thanks!
Christel