DO REPEAT: Properly convert lex_syntax_mode to segmenter_mode.
authorBen Pfaff <blp@cs.stanford.edu>
Thu, 10 Nov 2011 05:23:46 +0000 (21:23 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Thu, 10 Nov 2011 05:30:26 +0000 (21:30 -0800)
commitd63cd372d504572e38bab5f5b9c4f81b6edde5ed
treec48490201af5e3f5aac2afe095af583ef0e30ecd
parent4b938f84aa68af17d5f7487523ad2a478abb7b6d
DO REPEAT: Properly convert lex_syntax_mode to segmenter_mode.

Clang reported that "enum lex_syntax_mode" was being implicitly converted
to "enum segmenter_mode".  Luckily, equal values in each enum have the
same meaning, but it seems better to convert by hand, so this patch
implements that.

Reported-by: Jeremy Lavergne <jeremy@lavergne.gotdns.org>
src/language/control/repeat.c