fix problem with incrorectly invoking phase -1 relative to base phase 1; sync planet reader with #lang whitespace change
svn: r12210
This commit is contained in:
parent
ac0888ee88
commit
338a595a7a
|
@ -9,7 +9,7 @@
|
|||
get-info)
|
||||
|
||||
(define (planet-get in lang-mod export-sym src line col pos mk-fail-thunk)
|
||||
(let ([spec (regexp-try-match #px"^(.*?)(\\s|$)" in)]
|
||||
(let ([spec (regexp-try-match #px"^\\s(.*?)(\\s|$)" in)]
|
||||
[bad (lambda (str eof?)
|
||||
((if eof?
|
||||
raise-read-eof-error
|
||||
|
|
|
@ -3919,7 +3919,7 @@ static void start_module(Scheme_Module *m, Scheme_Env *env, int restart,
|
|||
return;
|
||||
}
|
||||
} else if (env->phase < base_phase) {
|
||||
if (env->phase == -1) {
|
||||
if (env->phase == base_phase - 1) {
|
||||
expstart_module(menv, env, restart, eval_exp, eval_run, base_phase);
|
||||
}
|
||||
show_done("nrn-", menv, eval_exp, eval_run);
|
||||
|
|
Loading…
Reference in New Issue
Block a user