diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-09 15:11:11 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-09 15:11:11 -0500 |
| commit | 7a4f2e73addf6dfcde2a6b17b62b961608e556a0 (patch) | |
| tree | c03e4758e5725a4a6d352f5bb7d323796ed99947 /repl.c | |
| parent | 5d35f286336878a3529dabdb3f7800b6f84712eb (diff) | |
Rename `from_text()` to `parse()`
Diffstat (limited to 'repl.c')
| -rw-r--r-- | repl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -353,7 +353,7 @@ void eval(env_t *env, ast_t *ast, void *dest) } case Int: { if (!dest) return; - *(Int_t*)dest = Int$from_text(Text$from_str(Match(ast, Int)->str)); break; + *(Int_t*)dest = Int$parse(Text$from_str(Match(ast, Int)->str)); break; break; } case Num: { |
