core: Cleanup symbol initialization and lookup.
authorJan Nieuwenhuizen <janneke@gnu.org>
Fri, 23 Dec 2016 09:38:41 +0000 (10:38 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Fri, 23 Dec 2016 09:38:41 +0000 (10:38 +0100)
commitaa0aaa58abb3c6e5758f064eb7e5364b3777d02b
tree4db13c2b068912cffa5c605dec75cc5ec3df6249
parentddfaa051495a10bd20602b85aa220ba1537883b9
core: Cleanup symbol initialization and lookup.

* build-aux/mes-snarf.scm (symbol->names): New function
  (function->environment): Initialize symbol.
  (generate-includes): Also write .symbol-names.i.
* mes.c (mes_symbols): Include it.  Remove internal_lookup_symbol.
* display.c (display): Handle display of nil in symbol list.
* reader.c (internal_lookup_symbol): Remove name-fu.
build-aux/mes-snarf.scm
display.c
mes.c
module/language/c/parser.mes
reader.c