Skip to content

Commit

Permalink
FIX: issue red#207 (comment letting pass other than string! arguments)
Browse files Browse the repository at this point in the history
  • Loading branch information
dockimbel committed Mar 6, 2012
1 parent d44323a commit 7541b85
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions red-system/loader.r
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ loader: context [
s: (do store-line)
some [
defs ;-- resolve definitions in a single pass
| 'comment [
string! | (throw-error "invalid comment string")
]
| s: #define set name word! set value skip e: (
compiler/check-enum-word/by-loader name
if verbose > 0 [print [mold name #":" mold value]]
Expand Down

0 comments on commit 7541b85

Please sign in to comment.