[seed] Fix the REPL script in main.c
- From: Robert Carr <racarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] Fix the REPL script in main.c
- Date: Mon, 13 Apr 2009 22:00:17 -0400 (EDT)
commit 01d6fd856d5615b3448efce60831ab59cb4d7e9b
Author: Robert Carr <racarr mireia (none)>
Date: Mon Apr 13 22:00:09 2009 -0400
Fix the REPL script in main.c
---
src/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main.c b/src/main.c
index 86c4f0e..fe41570 100644
--- a/src/main.c
+++ b/src/main.c
@@ -35,7 +35,7 @@ seed_repl (gint argc, gchar ** argv)
script =
seed_make_script (eng->context,
- "readline = imports.readline"
+ "readline = imports.readline;"
"while(1) { try { Seed.print(eval("
"readline.readline(\"> \"))); } catch(e) {"
"Seed.print(e.name + \" \" + e.message);}}", NULL, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]