Skip to content

Commit

Permalink
FIX: issue #316 (Compiler is not properly reset after finding a compi…
Browse files Browse the repository at this point in the history
…lation error)
  • Loading branch information
dockimbel committed Nov 27, 2012
1 parent 8e56c6e commit 3a3cec6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion red-system/compiler.r
Original file line number Diff line number Diff line change
Expand Up @@ -2724,7 +2724,10 @@ system-dialect: make-profilable context [

clean-up: does [
compiler/ns-path:
compiler/ns-stack: none
compiler/ns-stack:
compiler/locals: none
compiler/resolve-alias?: yes

clear compiler/imports
clear compiler/natives
clear compiler/ns-list
Expand All @@ -2736,6 +2739,7 @@ system-dialect: make-profilable context [
clear compiler/user-functions
clear compiler/debug-lines/records
clear compiler/debug-lines/files
clear emitter/symbols
]

make-job: func [opts [object!] file [file!] /local job][
Expand Down

0 comments on commit 3a3cec6

Please sign in to comment.