- s->state = S_DEFINE_3;
- return ofs;
- }
-
- return ofs;
-}
-
-static int
-segmenter_parse_define_3__ (struct segmenter *s,
- const char *input, size_t n, bool eof,
- enum segment_type *type)
-{
- int ofs = segmenter_subparse (s, input, n, eof, type);
- if (ofs < 0)
- return -1;
-
- if (*type == SEG_END_COMMAND)
- {
- /* The DEFINE command is malformed because there was a command terminator
- before the first line of the body. Transition back to general
- parsing. */
- s->state = S_GENERAL;