Differences From Artifact [b29be17d733aa309]:
- File
main.d
- 2010-11-09 14:24:09 - part of checkin [2459e9a821] on branch trunk - refactored eof-driven REPL (user: kinaba) [annotate]
To Artifact [667427a12e5e3b09]:
- File
main.d
- 2010-11-09 14:59:36 - part of checkin [7465fcdd7f] on branch trunk - layered function invocation (user: kinaba) [annotate]
26 26 {
27 27 scope(failure)
28 28 { buf = ""; lineno = nextlineno; }
29 29
30 30 buf ~= s;
31 31 nextlineno ++;
32 32 try
33 - { lastVal = eval(parseString(buf, "<REPL>", lineno), ctx); }
33 + { lastVal = eval(parseString(buf, "<REPL>", lineno), ctx, false, "@v"); }
34 34 catch( UnexpectedEOF )
35 35 { return false; } // wait
36 36 buf = "";
37 37 lineno = nextlineno;
38 38 return true;
39 39 }
40 40