You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Lexer that tracks line/column positions (default behavior) will fail to initialize if
none of it's Token definitions enables the line_breaks flag.
See In-depth explanation for details.
Major Changes
The definition of line terminators (for line/column position tracking). Is now customizable.
By default it is /\n|\r\n?/ as in earlier versions.
However the lineTerminatorsPattern property of the ILexerConfig can be used to adapt it.
The text was updated successfully, but these errors were encountered:
Breaking Changes
A Lexer that tracks line/column positions (default behavior) will fail to initialize if
none of it's Token definitions enables the line_breaks flag.
See In-depth explanation for details.
Major Changes
The definition of line terminators (for line/column position tracking). Is now customizable.
By default it is /\n|\r\n?/ as in earlier versions.
However the lineTerminatorsPattern property of the ILexerConfig can be used to adapt it.
The text was updated successfully, but these errors were encountered: