#
# * the object-like macro LOPT_PACK_BITS expands to an integer constant
# expression, suitable for use in #if directives, that specifies the
#
# * the object-like macro LOPT_PACK_BITS expands to an integer constant
# expression, suitable for use in #if directives, that specifies the
#
# * the object-like macro LOPTS_PACKED_INITIALIZER expands to a
# comma-separated sequence of integer constant expressions, suitable
#
# * the object-like macro LOPTS_PACKED_INITIALIZER expands to a
# comma-separated sequence of integer constant expressions, suitable
if (n = index(work, "]")) {
arg = substr(work, 3, n-3)
work = substr(work, n+1)
if (n = index(work, "]")) {
arg = substr(work, 3, n-3)
work = substr(work, n+1)
# Currently, this only works if none of the options use action specifications
# (as these would require encoding user-specified pointer expressions and
# arbitrary int values).
# Currently, this only works if none of the options use action specifications
# (as these would require encoding user-specified pointer expressions and
# arbitrary int values).
-function output_packed_macros(i, tmp, accum, max)
+function output_packed_macros(i, tmp, accum, max, totalbits)