diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-06-07 20:18:08 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-06-07 20:18:08 -0700 |
commit | e131c739eaa55df3b6515fc91e150b12ee77152b (patch) | |
tree | 3dd5dc9dd00d191efaede0d42543e656fbf84cf5 | |
parent | 76927b80247a348ea92732e0cf15e6beb2d56826 (diff) | |
download | txr-e131c739eaa55df3b6515fc91e150b12ee77152b.tar.gz txr-e131c739eaa55df3b6515fc91e150b12ee77152b.tar.bz2 txr-e131c739eaa55df3b6515fc91e150b12ee77152b.zip |
* lib.h (mkloc): Rename misleading argument from fun to obj.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib.h | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,9 @@ 2015-06-07 Kaz Kylheku <kaz@kylheku.com> + * lib.h (mkloc): Rename misleading argument from fun to obj. + +2015-06-07 Kaz Kylheku <kaz@kylheku.com> + * parser.c (stream_parser_hash): New static variable. (parser_mark): Mark parser and primer members. (parser, ensure_parser): new argument: primer. @@ -264,7 +264,7 @@ INLINE loc mkloc_fun(val *ptr, val obj) return l; } -#define mkloc(expr, fun) mkloc_fun(&(expr), fun) +#define mkloc(expr, obj) mkloc_fun(&(expr), obj) #define mkcloc(expr) mkloc_fun(&(expr), 0) #define nulloc mkloc_fun(0, 0) #define nullocp(lo) (!(lo).ptr) |