[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: syntax error in irrelevant places
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: syntax error in irrelevant places |
Date: |
Sun, 14 Aug 2011 09:34:03 -0500 |
On 14 August 2011 09:24, DGati <address@hidden> wrote:
> Thank you both. I can't believe it was this simple. Is it usual that in cases
> of such strange error location, the error actually is in the previous line?
If an interpreter (any interpreter or parser, not just Octave) ever
reports a syntax error on a line that seems to be well formed, the
actual syntax error is almost certainly in a previous line the
interpreter parsed, yes.
- Jordi G. H.
Re: syntax error in irrelevant places, Doug Stewart, 2011/08/14