Skip to content
Snippets Groups Projects

WIP: preprocessor to handle file location in messages

Closed Julien requested to merge julien@preprocessor into master

This MR adds a preprocessor that replaces the LOC, FILE and LINE with the actuals locations in the file. It is useful to track bug, ie error that should not happen but still happen as we don't have a verified compiler yet.

Actual mechanism still have to be polished.

The current choice is to have a template file and not to update in-place in order to keep the original source file without having to deal with heavy build machinery. An other move could be to have a dune build, which would handle a kind of in-place preprocessing in the _build directory.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
Please register or sign in to reply
Loading