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 - Usage of lexer is hard and wrongly documented
Summary: Usage of lexer is hard and wrongly documented
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Lexer (show other bugs)
Version: 3.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-12 08:37 UTC by Jaroslav Tulach
Modified: 2003-05-19 17:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.