This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 29966

Summary: Usage of lexer is hard and wrongly documented
Product: editor Reporter: Jaroslav Tulach <jtulach>
Component: LexerAssignee: issues@editor <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Jaroslav Tulach 2003-01-12 08:37:23 UTC
I have found problems using lexer (antlr part) and
even following documentation at 
http://lexer.netbeans.org/doc/lexer-generators.html#antlr
is almost impossible. 

I am going to create a branch and suggest some
changes.
Comment 1 Jaroslav Tulach 2003-01-12 08:47:28 UTC
To get the branch:

cd lexer
cvs upd -r uneasy_usage_29966

Comment 2 Jaroslav Tulach 2003-01-12 10:45:22 UTC
Added support for testing of generated XXXLanguage class. Check:

lexer/demo/src/org/netbeans/modules/lexer/demo/PaneDemo.java,v  
revision: 1.2.8.1; 

lexer/src/org/netbeans/modules/lexer/antlr/antlrLangBuild.xml,v
revision: 1.2.6.3
Comment 3 Miloslav Metelka 2003-05-19 17:41:23 UTC
In the last usability update that I've just commited into cvs I've
make EditorPaneDemo class that uses the code provided in the branch.

I'm marking this issue as fixed please reopen if necessary.