]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libgcobol: fix xmlCtxtGetVersion typo
authorSam James <sam@gentoo.org>
Mon, 27 Oct 2025 22:53:00 +0000 (22:53 +0000)
committerSam James <sam@gentoo.org>
Mon, 27 Oct 2025 22:54:53 +0000 (22:54 +0000)
libgcobol/ChangeLog:
PR cobol/122451

* xmlparse.cc (xml_push_parse): Fix xmlCtxtGetVersion argument
typo to be 'context'.

libgcobol/xmlparse.cc

index edaf12415c22936af56a631ac6716dbf0ebfeb3c..59d407215441025c616f0ae7ce8fd492649b0ac3 100644 (file)
@@ -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