Current Linenumber was Re: [antlr-interest] ANTLR 3.0ea1 and ANTLRWorks 1.0ea1 released!

Matthew Ford matthew.ford at forward.com.au
Thu Jun 2 14:42:25 PDT 2005


Could we have the current cursor line number display in the status bar
please?
matthew

----- Original Message ----- 
From: "Prashant Deva" <prashant.deva at gmail.com>
To: "Micheal J" <open.zone at virgin.net>
Cc: <antlr-interest at antlr.org>
Sent: Friday, June 03, 2005 1:36 AM
Subject: Re: [antlr-interest] ANTLR 3.0ea1 and ANTLRWorks 1.0ea1 released!


> > Where did you get that 184kb ANTLR v3 grammar (ANTLR v2.x grammars
aren't
>
> Its not , but the ide shouldn't crash on opening a 184 kb of 'any' text.
>
> > I'd like to see the errors you mention. So far, I only
> > get entries like this in the console:
> You open a new file in the ide, type 'grammar a' , wait for a second,
> and a console window pops up right in front of the editor with the msg
> -
> "[21:02:41] 1:9: syntax error: antlr: line 1:9: unexpected token: null
> [21:02:41] 1:9: syntax error: antlr: line 1:9: expecting SEMI, found
'null'
> [21:02:41] 0:0: syntax error: assign.types: <AST>:0:0: unexpected end of
subtree
> [21:02:41] 0:0: syntax error: define: <AST>:0:0: unexpected end of subtree
> [21:02:41] 0:0: syntax error: buildnfa: <AST>:0:0: unexpected end of
subtree"
>
> And the problem regarding syntax highlighting and stuff occcurs with
> 'valid' antlr 3 grammars too.
>
> PRASHANT
>
>
> On 6/2/05, Micheal J <open.zone at virgin.net> wrote:
> > > well 64 mb is a LOT of mem to occupy for opening a 184kb file.
> > >
> > > PRASHANT
> >
> > Where did you get that 184kb ANTLR v3 grammar (ANTLR v2.x grammars
aren't
> > directly usable AFAICT).
> >
> > Can you share it?. I'd like to see the errors you mention. So far, I
only
> > get entries like this in the console:
> >
> > -------- BEGIN ----------
> > 14:38:22] internal error: Exception
> >
java.nio.channels.ClosedChannelException at sun.nio.ch.FileLockImpl.release(Unk
> > nown Source): can't write stats to C:\Documents and
> > Settings\MichealJ\antlrworks\grammar.stats
> >
> > [14:38:22] internal error: Exception
> >
java.nio.channels.ClosedChannelException at sun.nio.ch.FileLockImpl.release(Unk
> > nown Source): can't write stats to C:\Documents and
> > Settings\MichealJ\antlrworks\grammar.stats
> >
> > [14:38:34] Launcher>Parser launched
> > [14:40:19] Launcher>bar is a declaration
> > [14:40:20] Launcher>foo is a definition
> > [14:41:29] internal error: Exception
> >
java.nio.channels.ClosedChannelException at sun.nio.ch.FileLockImpl.release(Unk
> > nown Source): can't write stats to C:\Documents and
> > Settings\MichealJ\antlrworks\grammar.stats
> >
> > [14:41:29] internal error: Exception
> >
java.nio.channels.ClosedChannelException at sun.nio.ch.FileLockImpl.release(Unk
> > nown Source): can't write stats to C:\Documents and
> > Settings\MichealJ\antlrworks\grammar.stats
> > --------  END  ----------
> >
> >
> >
>



More information about the antlr-interest mailing list