https://gcc.gnu.org/g:374ec67294fc4f66e87e88fa67d13ee829008559

commit r16-4668-g374ec67294fc4f66e87e88fa67d13ee829008559
Author: Sam James <[email protected]>
Date:   Mon Oct 27 22:53:00 2025 +0000

    libgcobol: fix xmlCtxtGetVersion typo
    
    libgcobol/ChangeLog:
            PR cobol/122451
    
            * xmlparse.cc (xml_push_parse): Fix xmlCtxtGetVersion argument
            typo to be 'context'.

Diff:
---
 libgcobol/xmlparse.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libgcobol/xmlparse.cc b/libgcobol/xmlparse.cc
index edaf12415c22..59d407215441 100644
--- a/libgcobol/xmlparse.cc
+++ b/libgcobol/xmlparse.cc
@@ -734,7 +734,7 @@ xml_push_parse( cblc_field_t *input_field,
   context.push( input_field, input_offset, len, false);
 
 #if LIBXML_VERSION >= 21400
-  const xmlChar * version = xmlCtxtGetVersion( ctxt );
+  const xmlChar * version = xmlCtxtGetVersion( context );
 #else
   const xmlChar * version = xmlchar_of("requires version 2.14");
 #endif

Reply via email to