Skip to content

Commit

Permalink
Turn back better parsing error
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Aug 31, 2024
1 parent 6cf7330 commit 2d02712
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/lotri.R
Original file line number Diff line number Diff line change
Expand Up @@ -670,8 +670,8 @@ NULL
} else if (identical(x[[1]], quote(`{`))) {
.x <- x[-1]
for (.i in seq_along(.x)) {
.curLine <- .f(.x[[.i]], env=env)
## .curLine <- try(.f(.x[[.i]], env=env), silent=TRUE)
##.curLine <- .f(.x[[.i]], env=env)
.curLine <- try(.f(.x[[.i]], env=env), silent=TRUE)
if (inherits(.curLine, "try-error")) {
env$.hasErr <- TRUE
env$.err[[.i]] <- paste(c(env$.err[[.i]], attr(.curLine, "condition")$message), collapse="\n")
Expand Down

0 comments on commit 2d02712

Please sign in to comment.