• Show log

    Commit

  • Hash : 43b511fa
    Author : Nick Wellnhofer
    Date : 2023-11-26T14:31:39

    parser: Make CRLF increment line number
    
    Partial revert of cb927e85 fixing CRLFs not incrementing the line
    number.
    
    This requires to rework xmlParseQNameHashed. The original implementation
    prompted the change to xmlCurrentChar which really shouldn't modify the
    'cur' pointer as side effect. But the NEXTL macro relies on this
    behavior.
    
    Ultimately, we should reintroduce the change to xmlCurrentChar and fix
    the NEXTL macro. This will lead to single CRs incrementing the line
    number as well which seems more consistent.
    
    Fixes #628.