Skip to content

Fixed the tokenisation of linemarkers

Christian Rinderknecht requested to merge rinderknecht@linemarker_fix into dev

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

Bug fix in the tokenisation (lexing) of linemarkers. Related Issue(s): #1479 (closed)

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

Merge request reports

Loading