From: Richard M. Stallman Date: Sun, 15 Oct 1995 20:06:23 +0000 (+0000) Subject: Include getopt.h. Add some extern decls. X-Git-Tag: GNU_ORIG~49 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/a44c227773ad3beed8774de4817acedde0452c20?hp=a44c227773ad3beed8774de4817acedde0452c20 Include getopt.h. Add some extern decls. (safegetc): New function to deal with EOF gracefully. (literalchar); new function to deal with reading \ escapes. (lex): Use literalchar. (lex): Implemented "..." tokens. (literalchar, lex, parse_percent_token): Made tokenbuffer always contain the token. This includes growing the token buffer while reading an integer. (parse_percent_token): Replaced if-else statement with percent_table. (parse_percent_token): Added % declarations as another way to specify the flags -n, -l, and -r. Also added hooks for -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires major changes to files.c. (lex) Retain in the incoming stream a character following an incorrect '/'. (skip_white_space, lex): Revised most error messages and changed fatal to warn to avoid aborting. (percent_table): Added %thong declarations. ---