reader: let symtab deal with the symbols

* src/reader.c (reader): Move the setting up of the builtin symbols to...
* src/symtab.c (symbols_new): here.
This commit is contained in:
Akim Demaille
2019-10-22 10:07:40 +02:00
parent c680300a29
commit 6e7d8ba6a7
3 changed files with 23 additions and 19 deletions

View File

@@ -345,7 +345,8 @@ void semantic_type_code_props_set (semantic_type *type,
| Symbol and semantic type tables. |
`----------------------------------*/
/** Create the symbol and semantic type tables. */
/** Create the symbol and semantic type tables, and the built-in
symbols. */
void symbols_new (void);
/** Free all the memory allocated for symbols and semantic types. */