Matching but not accepted token

Top  Previous  Next

Messages > Matching but not accepted token

 

This message is shown in the log window, if a token was recognized in the text that in accordance with the grammar isn't permitted.

 

Example:

 

Input:         Text2Html.ttp

Rule:        SKIPEOL

Message:        Matching but not acceptet token: ID ( 7 ), \w+

 

"Text2Html" has been recognized as an identifier ID, though the whole "Text2Html.ttp" should have been skipped.

 

As a way out either the option of global scanners for regular expressions can be disabled or the rule can be redrafted:

 

Rule:        ( SKIP | ID )* EOL

 

 



This page belongs to the TextTransformer Documentation

Home  Content  German