-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Long running unclosed quotes trigger unhelpful message #1808
Comments
From @cognominalI am probably a lousy programmer but I hit again and again that How to reproduce : eval "{\n\n\n\n\'}" Unable to parse blockoid, couldn't find final '}' at line 1 Note that the opening quotes are many lines below the start of the In the simplest case, the quote rules fails because the end of the In more complicated cases, the quote rule reduces but it eats way more -- |
From @moritzAm 07.06.2010 23:23, schrieb Stephane Payrard (via RT):
That's not what's happening. If you're interested in fixing this, you might look at how STD.pm does Cheers, |
The RT System itself - Status changed from 'new' to 'open' |
From @cognominalAlso implementing :: will help for more precise errors reports. That one is one On Tue, Jun 8, 2010 at 1:36 PM, Moritz Lenz via RT
-- |
From @cokeOn Mon Jun 07 14:23:47 2010, cognominal wrote:
Getting closer (I'm assuming the \n's above were meant to be newlines, but I did it both ways $ cat a.p6 \'}" -- |
1 similar comment
From @cokeOn Mon Jun 07 14:23:47 2010, cognominal wrote:
Getting closer (I'm assuming the \n's above were meant to be newlines, but I did it both ways $ cat a.p6 \'}" -- |
From @cokeOn Sat Nov 17 11:40:48 2012, coke wrote:
Slight improvements; line number in the second one is now only off by one, error messages now reference the file. $ cat a.p6 \'}" -- |
From @AlexDanielI'm slightly confused by this ticket… isn't it resolved now? Nowadays you get an error message like this: Unable to parse expression in single quotes; couldn't find final "'" (corresponding starter was at line 2) So while it blows up at the end of the file, it still mentions where the quote started. Sooo… fixed? I'm struggling to understand what these code samples were supposed to demonstrate. On 2010-06-07 14:23:47, cognominal wrote:
|
Fixed, I guess. Also, eval is how EVAL. |
OK! Maybe there are other cases when it doesn't print a nice error message, in which case please file a bug report. But IIRC my fix resolved most of the issues. |
Migrated from rt.perl.org#75592 (status was 'open')
Searchable as RT75592$
The text was updated successfully, but these errors were encountered: