summaryrefslogtreecommitdiffstats
path: root/struct.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-04-03 06:24:04 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-04-03 06:24:04 -0700
commit4eea106b17da71b27b69f0856a3cb4e0c2d93132 (patch)
tree0ef9dd3a6e7e4e37f39076d4976bcd2e4a785975 /struct.c
parent2b8dfb7262c8a7e9193e68ed0b76c54bce1f3c22 (diff)
downloadtxr-4eea106b17da71b27b69f0856a3cb4e0c2d93132.tar.gz
txr-4eea106b17da71b27b69f0856a3cb4e0c2d93132.tar.bz2
txr-4eea106b17da71b27b69f0856a3cb4e0c2d93132.zip
tags: first cut at handling .txr files.
Handles only top-level define and bind. * tags.tl (with-tag-shorthand-macro): New macro: a robot for writing the the shorthand macrolet in collect-tags, so we can reuse it. (process-form): New function, made from the bulk of collect-tags. (collect-tags): Renamed to collect-tags-tl. The macrolet is replaced by invocation of with-tag-shorthand macro and the form case processing logic by a call to process-form. (process-clause, collect-tags-txr, collect-tags-guess): New functions. (toplevel): Help text updated. Process .txr files through collect-tags-txr. Also process unsuffixed files, if they are explicity mentioned on the command line, through collect-tags-guess, which looks for hash-bang lines containing the --lisp option.
Diffstat (limited to 'struct.c')
0 files changed, 0 insertions, 0 deletions