Fixed the tokenisation of linemarkers
type:fixed
Checklist:
-
Changes follow the existing coding style (use dune @fmt
to check). -
Tests for the changes have been added (for bug fixes / feature). -
Documentation has been updated. -
Changelog description has been added (if appropriate). -
Examples in changed behaviour have been added (for breaking change / feature).
Motivation and Context
#1479 (closed)
Bug fix in the tokenisation (lexing) of linemarkers. Related Issue(s):Description
In the library [LexerLib], the local variable [hash_state] in function [Core.scan_linemarker] was computed after calling [state#sync]. In fact, the order must be reversed.
Changelog description
Changelog details: Fixed the tokenisation of linemarkers
Edited by Christian Rinderknecht