diff options
author | Peter Mikkelsen <peter@pmikkelsen.com> | 2021-07-15 22:04:03 +0000 |
---|---|---|
committer | Peter Mikkelsen <peter@pmikkelsen.com> | 2021-07-15 22:04:03 +0000 |
commit | 2a77288e28f2725b5621c239d2393d49f61993e8 (patch) | |
tree | 9aeebb7b09ce2350c71dacb5d3191c494d1a3780 /streams.c | |
parent | d4fc86d5988dacfca455cac55aae71ad4fd3bb95 (diff) |
Make read_term understand the three read options:
variables(Vars),
variable_names(VarNames),
singletons(Singles)
as required per the ISO standard
Diffstat (limited to 'streams.c')
-rw-r--r-- | streams.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -192,16 +192,13 @@ isbinarystream(Term *t) } int -readterm(Term *stream, Term *options, Term **term) +readterm(Term *stream, Term **term) { - USED(options); - Stream *s = getstream(stream); if(s == nil){ *term = existenceerror(L"stream", stream); return 1; } - print(": "); *term = parse(0, s->bio, 1); return 0; |