aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index ecbc2f4..9c05ee5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -10,11 +10,10 @@ int main() {
Parser_init(&parser);
parser.ctx = &interp;
- Parser_set_file(&parser, stdin);
+ Parser_set_readline(&parser);
SExpRef sexp, res;
ParseResult parse_result;
while (1) {
- printf("> ");
parse_result = parse_sexp(&parser);
if (parse_result.errmsg != NULL) {
if (Parser_peek(&parser) == EOF) goto end;