I don't know if there is one already that is a good match for what you
want, but you can always use prop:exn:srclocs to make a new one.

Robby

On Tue, Jun 21, 2011 at 10:40 AM, Danny Yoo <d...@cs.wpi.edu> wrote:
> In my personal brainf*ck compiler, I've been using the function
> "raise-syntax-error" to raise a runtime error, because I want to point
> at a given point in the text to blame.  For example, when an operation
> causes the tape head to fall off into negative territory, I can point
> at the offending line and column precisely with raise-syntax-error.
>
> However, it doesn't really feel like a syntax-error.
> raise-syntax-error doesn't sound right.  What should I really be
> using?
>
> Thanks!
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users
>

_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to