This website works better with JavaScript.
Home
Explore
Help
Sign In
mort
/
lang2
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
repl history
master
Martin Dørum
3 years ago
parent
4a053e3e36
commit
ac50263192
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
1
0
cmd/main.c
+ 1
- 0
cmd/main.c
View File
@@ -94,6 +94,7 @@ static void repl() {
char *rline = readline("> ");
if (rline == NULL) return;
if (rline[0] == '\0') continue;
add_history(rline);
snprintf(line, sizeof(line), "print (%s)", rline);
free(rline);
#else
Write
Preview
Loading…
Cancel
Save