• Pieter-Jan Briers's avatar
    Clean up & improve makerst.py · 15a3d16d
    Pieter-Jan Briers authored
    Man this file even had some semicolons in it.
    
    I cleaned up the entire file, while it's still pretty ugly it's much better now.
    I also added type checks so it passes mypy --strict.
    make_type now throws a warning on unresolved type references, which there are a bunch of. I'm not responsible for fixing those though.
    Also some more hardening against crashes. For example XML tags without content won't cause crashes now.
    Functionality has not been modified as far as I can tell.
    
    Update Makefile for Python 3
    
    Fix ordering issues related to enums & constants
    15a3d16d