simon-git: xtruss (main): Ben Harris

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Wed Apr 23 21:52:11 BST 2025


TL;DR:
  85a0d6f xtrgen: allow ambiguous type references everywhere

Repository:     https://git.tartarus.org/simon/xtruss.git
On the web:     https://git.tartarus.org/?p=simon/xtruss.git
Branch updated: main
Committer:      Ben Harris <bjh21 at bjh21.me.uk>
Date:           2025-04-23 21:52:11

commit 85a0d6fd186585e514193527e005bab9e4fd258f
web diff https://git.tartarus.org/?p=simon/xtruss.git;a=commitdiff;h=85a0d6fd186585e514193527e005bab9e4fd258f;hp=ebf9a26ae0b1311019e2be9a00e61d75d2fbe838
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Wed Apr 23 21:48:12 2025 +0100

    xtrgen: allow ambiguous type references everywhere
    
    xcb-proto 1.16.0 added an ambiguous type reference to dpms.xml.  Since
    this one is obviously intended to refer to the type defined in the same
    header, and there's already code in xtrgen to resolve ambiguities in
    that direction, it seems reasonable to just be a bit more tolerant.
    
    Ideally, I'd have a sensible framework for emitting warning messages,
    and then we could generate those for ambiguous type references, but I
    haven't got one yet.

 xtrgen.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)



More information about the tartarus-commits mailing list