Skip to content

Commit

Permalink
Remove message print when LOAD/NEXT is used.
Browse files Browse the repository at this point in the history
Correct comment typos.
Corrects bug#2041

git-svn-id: https://s1.saphirion.com/svn/rm-asset/trunk/r3@5249 0b15d6fc-ce89-4483-8625-0b0fabc32e25
  • Loading branch information
ladislav committed Aug 5, 2013
1 parent 6f0050a commit 1092a9d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/mezz/sys-load.r
Expand Up @@ -291,17 +291,16 @@ load: funct [
; argument can be used to control how the raw source is converted.
; Pass a /type of none or 'unbound if you want embedded code or data.
; Scripts are normally bound to the user context, but no binding will
; happen for a module or if the /type is unbound. This allows the result
; happen for a module or if the /type is 'unbound. This allows the result
; to be handled properly by DO (keeping it out of user context.)
; Extensions will be still be loaded properly if /type 'unbound.
; Note that IMPORT has it's own loader, and does not use LOAD directly.
; Extensions will still be loaded properly if /type is 'unbound.
; Note that IMPORT has its own loader, and does not use LOAD directly.
; /type with anything other than 'extension disables extension loading.

assert/type [local none!] ; easiest way to protect against /local hacks

case/all [
next [
print "LOAD/next removed. Use TRANSCODE."
cause-error 'script 'no-refine [load next] ;!! bug#1711
]
header [all: none]
Expand Down

0 comments on commit 1092a9d

Please sign in to comment.