lexer: Remove lex_syntax_mode in favor of segmenter_mode.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 3 May 2021 00:13:27 +0000 (17:13 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 3 May 2021 00:15:59 +0000 (17:15 -0700)
commit321290aa58ad553951a4448ea512ebeed4ddf9b1
treec42963df71c8ab37aa4b98e1d6a71dad138f9499
parent0a4b6cff307be6de2b097fce0a5384ec7eeef574
lexer: Remove lex_syntax_mode in favor of segmenter_mode.

These two enums have the same meaning and there was no benefit to having
both of them plus translation back and forth.
13 files changed:
src/language/control/repeat.c
src/language/lexer/lexer.c
src/language/lexer/lexer.h
src/language/utilities/include.c
src/ui/gui/psppire-lex-reader.c
src/ui/gui/psppire-lex-reader.h
src/ui/gui/psppire-syntax-window.c
src/ui/gui/psppire-syntax-window.h
src/ui/terminal/main.c
src/ui/terminal/terminal-opts.c
src/ui/terminal/terminal-opts.h
src/ui/terminal/terminal-reader.c
tests/output/pivot-table-test.c