diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-08-07 23:47:07 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-08-07 23:47:07 -0700 |
commit | 850d2ff91a9f705c559ad17964afe7fd8796cd27 (patch) | |
tree | e6ab4866998839da416927051806af0f311f9c07 /protsym.c | |
parent | 3736361f915a7df8ed3ffc9a52b47e7af6bc280b (diff) | |
download | txr-850d2ff91a9f705c559ad17964afe7fd8796cd27.tar.gz txr-850d2ff91a9f705c559ad17964afe7fd8796cd27.tar.bz2 txr-850d2ff91a9f705c559ad17964afe7fd8796cd27.zip |
scanner: backport isatty hack to Flex 2.5.x.
* parser.l (VER, FLEX_VER): New macros.
(isatty): Define the macro differently for Flex 2.5.36 and
older, to counteract the skeleton's "extern int isatty(int)"
declaration. This involves a dummy global variable.
(no_isatty): New dummy global, only under Flex 2.5.36 and
older.
Diffstat (limited to 'protsym.c')
0 files changed, 0 insertions, 0 deletions