tuxji opened a new pull request #681:
URL: https://github.com/apache/daffodil/pull/681


   1. Elements used in multiple places within a schema were causing
      redundant code generation
   
   2. Empty complex type elements without any child elements were causing
      compiler warnings
   
   3. Certain choice dispatch key expressions were causing compiler
      errors
   
   Also start keeping generated code examples up to date by automation.
   
   main.yml - Bump mxml from 3.2 to 3.3.
   
   BUILD.md - Bump mxml from 3.2 to 3.3 and Fedora from 34 to 35.
   
   Makefile - Add "format" and "iwyu" targets for maintainers' use.
   
   cli_errors.c - Print program version on stdout, not stderr.  Update includes.
   
   xml_reader.c - Fix a lint warning.  Update includes.
   
   xml_writer.c - Update includes.
   
   infoset.c - Fix some lint warnings.
   
   parsers.h - Update includes.
   
   unparsers.h - Update includes.
   
   CodeGeneratorState.scala - Fix code generation for some corner cases:
   1) elements used in multiple places within a schema causing redundant
   code generation, 2) empty complex type elements without any child
   elements causing compiler warnings, 3) certain choice dispatch key
   expressions causing compiler errors.  Update includes.
   
   ElementParseAndUnspecifiedLengthCodeGenerator.scala - Fix code
   generation for one corner case (elements used in multiple places
   within a schema causing redundant code generation).
   
   NestedUnion/generated_code.[ch] - Update generated code example by
   automation.
   
   ex_nums/generated_code.[ch] - Update generated code example by
   automation.
   
   TestCodeGenerator.scala - Change tempDir from /tmp/NNN... to
   /tmp/daffodil-runtime2-NNN... to make its purpose clearer.  Add new
   test_updateGeneratedCodeExamples to keep our generated code examples
   up to date by automation.
   
   DAFFODIL-2585


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to