Skip to content

let HDRRULE work with build system too (fix #502)#559

Closed
paolopas wants to merge 3 commits intobfgroup:mainfrom
paolopas:hdaaard
Closed

let HDRRULE work with build system too (fix #502)#559
paolopas wants to merge 3 commits intobfgroup:mainfrom
paolopas:hdaaard

Conversation

@paolopas
Copy link
Copy Markdown
Contributor

@paolopas paolopas commented Feb 15, 2026

  • updated test/core_dependencies.py to check for both mode of interpreter operation, with build system or not (-f option)
  • backtrace_line with unknown line (only file) now allowed, this is the best we can do in the case of HDRSCAN regex errors
  • headers cleanup in regexp.cpp, switched to C++ headers and removed unused <stdio.h> and <stdlib.h>; refined regerror for uniform support of on target variables (HDRSCAN) and common rules (i.e. MATCH)
  • new find_module in modules.h for neutral lookup (never creating a new module on miss record, as bindmodule instead does)
  • new find_target in rules.h for neutral lookup (never creating a new target on miss record, as bindtarget instead does); commented target_ref and targets_ref types to prevent ambiguities among struct _target(s) and struct b2::target_ref; added a ctor for target_ref with a TARGET * parameter

Note

The changes to build/scanner.jam (c9563b5) are purely optimizations. This PR is fully backwards compatible with any version of scanner you use.

* updated test/core_dependencies.py to check for both mode of
  interpreter operation, with build system or not (-f option)
* backtrace_line with unknown line (only file) now allowed,
  this is the best we can do in the case of HDRSCAN regex errors
* headers cleanup in regexp.cpp, switched to C++ headers and removed
  unused <stdio.h> and <stdlib.h>; refined regerror for uniform support
  of on target variables (HDRSCAN) and common rules (i.e. MATCH)
* new find_module in modules.h for neutral lookup (never creating a
  new module on miss record, as bindmodule instead does)
* new find_target in rules.h for neutral lookup (never creating a
  new rule on miss record, as bindrule instead does);
  commented target_ref and targets_ref types to prevent ambiguities
  among struct _target(s) and struct b2::target_ref;
  added a ctor for target_ref with a TARGET * parameter
qualified hdrrule nor global import for the hdrrule
@paolopas paolopas deleted the hdaaard branch March 31, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant