struct macro_token *macro_tokens_add_uninit (struct macro_tokens *);
void macro_tokens_add (struct macro_tokens *, const struct macro_token *);
-void macro_tokens_from_string (struct macro_tokens *, const struct substring,
- enum segmenter_mode);
-
void macro_tokens_to_syntax (struct macro_tokens *, struct string *,
size_t *ofs, size_t *len);
ARG_CMDEND
}
arg_type;
- union
- {
- int n_tokens; /* ARG_N_TOKENS. */
- struct token charend; /* ARG_CHAREND. */
- struct token enclose[2]; /* ARG_ENCLOSE. */
- };
+
+ int n_tokens; /* ARG_N_TOKENS only. */
+ struct token start; /* ARG_ENCLOSE only. */
+ struct token end; /* ARG_ENCLOSE and ARG_CHAREND only. */
};
/* A macro. */