minor, import attr-by-ctx (=msg-or-comp) gperf parser file generator

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
minor, dump generated .gperf files (from fixml-attr-by-ctx.xsl) into files of their own

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
minor, provide xsl stylesheet for COMPonent enums

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
minor, provide xsl stylesheet for MSG (message) enums

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
cosmetics, don't finish lines with whitespace

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
chore, output -msg.h and -comp.h files to stdout instead of exsl:document()'ing them

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
minor, provide generic rule to extract msg and comp literals, and concrete rules for all supported fix standards

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
chore, rename (side-effect) output files in fixml-attr-by-ctx.xsl

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
Merge branch 'core/codegens' into next

* core/codegens:
  chore, rename (side-effect) output files in fixml-attr-by-ctx.xsl
  minor, provide generic rule to extract msg and comp literals, and concrete rules for all supported fix standards
  chore, output -msg.h and -comp.h files to stdout instead of exsl:document()'ing them
  cosmetics, don't finish lines with whitespace
  minor, provide xsl stylesheet for MSG (message) enums
  minor, provide xsl stylesheet for COMPonent enums
  minor, dump generated .gperf files (from fixml-attr-by-ctx.xsl) into files of their own
  minor, import attr-by-ctx (=msg-or-comp) gperf parser file generator
minor, apply templates directly using a mode

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, also bring modes for the gperf includes and the cases in the big (context) switch

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, code-hygiene, use exslt functions and global vars to eliminate code dupes

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, auto-generate fixc_get_aid() (by context) function file, fixml-attr-by-ctx.c

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, generate gperf files for aid-by-ctx lookup in the normal build chain

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, only put fields into the gperf map whose fixml attr is non-empty

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, PEBKAC, actually only process stylesheet plus the defining FIX xml file

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, include prototype for fixc_get_aid() in autogen'd super-switch, and name all parameters

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, switch to fixc_attr_t as the slot type for auto-gen'd gperfs, kick local enumeration

as it conflicts when we include all of the (generated) c files later on in the
super-switch file (fixml-attr-by-ctx.c) which is gen'd too.

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, revert accidental inclusion of fixml-attr-by-ctx.c in fixml-rd.c

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, include necessary headers in fixml-attr-by-ctx.h and name the msg slot type correctly

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>