diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-08-06 06:28:39 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-08-06 06:28:39 -0700 |
commit | 7c7d97f53e421e81e631c120559d0f6f11abc060 (patch) | |
tree | 4978231c5d1930a1be540a784572a318fd8deca2 /ChangeLog | |
parent | 14054b5ced1bd363b631ec5aade8d87f4a810b48 (diff) | |
download | txr-7c7d97f53e421e81e631c120559d0f6f11abc060.tar.gz txr-7c7d97f53e421e81e631c120559d0f6f11abc060.tar.bz2 txr-7c7d97f53e421e81e631c120559d0f6f11abc060.zip |
Better diagnosis for loose @ forms.
* eval.c (op_meta_error): New static function.
(eval_init): Register sys:var and sys:expr as operators
that throw error.
* parser.y (sym_helper): Take parser_t instead of scanner_t
argument so we have access to the name and line number.
Obtain scanner internally from parser. Add source location
info to (sys:var ...) form.
(symhlpr): Retarget macro to pass parser rather than scanner to
sm_helper.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,18 @@ +2015-08-06 Kaz Kylheku <kaz@kylheku.com> + + Better diagnosis for loose @ forms. + + * eval.c (op_meta_error): New static function. + (eval_init): Register sys:var and sys:expr as operators + that throw error. + + * parser.y (sym_helper): Take parser_t instead of scanner_t + argument so we have access to the name and line number. + Obtain scanner internally from parser. Add source location + info to (sys:var ...) form. + (symhlpr): Retarget macro to pass parser rather than scanner to + sm_helper. + 2015-08-05 Kaz Kylheku <kaz@kylheku.com> New filesystem object testing functions. |