diff options
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -90,3 +90,11 @@ mknumber(int type, vlong ival, double dval) t->dval = dval; return t; } + +Term * +mkstring(Rune *text) +{ + Term *t = mkterm(StringTerm); + t->text = text; + return t; +}
\ No newline at end of file |