segment: Improve segmentation when DEFINE command has early terminator.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 13 Apr 2021 16:58:46 +0000 (09:58 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 13 Apr 2021 17:00:19 +0000 (10:00 -0700)
The DEFINE command should not have a command terminator before the final
!ENDDEFINE.  When it does, that ends the whole thing early.  The segmenter
didn't handle this well, instead treating everything up to !ENDDEFINE as
part of the command.  That's probably not the best way because it makes
for confusing error messages.  This improves the behavior.


No differences found