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 129526 - Css comment inproperly lexed at the end of file
Summary: Css comment inproperly lexed at the end of file
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jan Stola
: 160031 (view as bug list)
Depends on:
Reported: 2008-03-07 10:54 UTC by Marek Fukala
Modified: 2014-10-06 13:24 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Marek Fukala 2008-03-07 10:54:55 UTC
1) open a css file
2) start to type a comment at the end of the file
=> before you close the comment by */ the code is marked as error => correct
3) type the */
=> the comment still marked as error
4) type any character
=> the problem gets fixed

There is an issue with the javacc token manager implementation and the bridge to netbeans lexer inproperly handling
lexer states of stateful javacc tokens (just the comment token) at the end of file.
Comment 1 Marek Fukala 2008-03-07 10:56:39 UTC
seems to be a minor priority to me, I would make it P4, but leaving the decistion on QE.
Comment 2 Marek Fukala 2010-05-08 07:01:32 UTC
*** Bug 160031 has been marked as a duplicate of this bug. ***