summaryrefslogtreecommitdiffstats
path: root/gc.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2013-12-15 00:17:39 -0800
committerKaz Kylheku <kaz@kylheku.com>2013-12-15 00:17:39 -0800
commit030ce483baef93392d54a4aec90bfa7b5906bc53 (patch)
tree434c2981465d9c8fd3d84b5d9d8207a2beeddd67 /gc.h
parente5cd9bbd3de84e90d5602b83a0eb7780ec4b750e (diff)
downloadtxr-030ce483baef93392d54a4aec90bfa7b5906bc53.tar.gz
txr-030ce483baef93392d54a4aec90bfa7b5906bc53.tar.bz2
txr-030ce483baef93392d54a4aec90bfa7b5906bc53.zip
Changing the tokenizer to get rid of IDENT, KEYWORD and METAVAR
token categories, replaced by a single one called SYMTOK. Package prefixes are now recognized and processed in tokens. * lib.c (delete_package): Fix problem in no-such-package error case: it would always report nil as the name. (intern): Fix nonsensical error message: in the no-such-package case it would report that the symbol exists already. * parser.l (grammar): Occurences of KEYWORD, METAVAR, and IDENT scrubbed. All rules reporting any of these now return SYMTOK. The main one of these is greatly simplified. * parser.y (sym_helper): New function. (char_from_name): const qualifier inside param's type declaration. (grammar): IDENT, KEYWORD and METAVAR tokens are gone. New token SYMTOK. Grammar refactored around SYMTOK and using the new sym_helper function. (char_from_name): Updated.
Diffstat (limited to 'gc.h')
0 files changed, 0 insertions, 0 deletions