Google 网上论坛不再支持新的 Usenet 帖子或订阅项。历史内容仍可供查看。

[perl #39845] [TODO] Better IMCC Errors: unexpected IDENTIFIER

已查看 10 次
跳至第一个未读帖子

Matt Diephouse

未读,
2006年7月16日 02:35:502006/7/16
收件人 bugs-bi...@rt.perl.org
# New Ticket Created by Matt Diephouse
# Please include the string: [perl #39845]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=39845 >


When IMCC encounters an unexpected identifier, it throws an error,
but it doesn't say what the unexpected identifier was. This is
painful for debugging compilers and should be fixed.

mini:~/Projects/parrot mdiep$ cat test.pir
.sub main :main
$I0 = $I1 - foo
end
.end

mini:~/Projects/parrot mdiep$ parrot test.pir
error:imcc:syntax error, unexpected IDENTIFIER
in file 'test.pir' line 2
mini:~/Projects/parrot mdiep$

--
Matt Diephouse

Klaas-Jan Stol via RT

未读,
2007年11月13日 15:09:452007/11/13
收件人 perl6-i...@perl.org
On Thu Nov 08 12:14:15 2007, kjs wrote:

> On Sat Jul 15 23:35:50 2006, mdiep wrote:
> > When IMCC encounters an unexpected identifier, it throws an error,
> > but it doesn't say what the unexpected identifier was. This is
> > painful for debugging compilers and should be fixed.
> >
> > mini:~/Projects/parrot mdiep$ cat test.pir
> > .sub main :main
> > $I0 = $I1 - foo
> > end
> > .end
> >
> > mini:~/Projects/parrot mdiep$ parrot test.pir
> > error:imcc:syntax error, unexpected IDENTIFIER
> > in file 'test.pir' line 2
> > mini:~/Projects/parrot mdiep$
> >
>
> The example now outputs (since a few months already):
>
> error:imcc:syntax error, unexpected IDENTIFIER ('foo')
> in file 'test1.pir' line 2
>
>
> Is this sufficient? Can this ticket be closed?
>
> kjs
>
>

forgot to cc the list. See my previous comment.
kjs


Klaas-Jan Stol via RT

未读,
2008年2月22日 04:02:162008/2/22
收件人 perl6-i...@perl.org
(forgot to cc list first time, you'll see this text twice in the ticket
history)

this issue seems to be resolved.

no reply was given on an earlier suggestion to close this ticket (i
probably forgot to cc the list)

I suggest to close this ticket.


0 个新帖子