AutoGen: getdefs subblock

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

### 8.5.6 subblock option

This is the "subblock definition names" option.

This option has some usage constraints. It:

- may appear an unlimited number of times.

This option is used to create shorthand entries for nested definitions. For example, with:

using subblock thus
  `--subblock=arg=argname,type,null`
and defining an `arg` thus
  `arg: this, char *`
will then expand to:
  `arg = { argname = this; type = "char *"; };`

The "this, char *" string is separated at the commas, with the white space removed. You may use characters other than commas by starting the value string with a punctuation character other than a single or double quote character. You may also omit intermediate values by placing the commas next to each other with no intervening white space. For example, "+mumble++yes+" will expand to:
`arg = { argname = mumble; null = "yes"; };`.

This document was generated by Bruce Korb on February 23, 2004 using texi2html