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.
Summary: | Function name that is treated as keyword in JavaFX is not properly formatted | ||
---|---|---|---|
Product: | javafx | Reporter: | Alexandr Scherbatiy <sunflower> |
Component: | Editor | Assignee: | Anton Chechel <manowar> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | sustaining |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 173487 |
Description
Alexandr Scherbatiy
2009-11-18 08:04:09 UTC
fixed http://hg.netbeans.org/javafx/rev/0a46ffba496b By the way this is very interesting bug. Unlike Java in JavaFX there are non-reserved keywords like "replace" which can be identifiers as well. Please create issue for semantic highlighting: all non-reserved keywords which are identifiers incorrectly highlighted. === // --------------------- // Non-reserved keywords // // Some tokens are returned by the lexer as keywords for the grammar // but are not reserved words in the language. These can be used as // identifiers and are basically the set of keywords that cannot // possibly start a statement/expression, such as 'to' but not those // that are not sensible to allow as identifiers, such as 'true'. // keyword : FIRST | IN | INIT | INTO | INVERSE | LAST | ON | POSTINIT | REPLACE | STEP | TRIGGER | TWEEN | WHERE | WITH | INVALIDATE ; === openjfx-compiler~soma-master\src\share\classes\com\sun\tools\javafx\antlr\v4Parser.g Created issue 177721 Function name that is treated as keyword in JavaFX is not properly highlighted verified in NetBeans-JavaFX-Soma: #62 Fixed in release68_fixes http://hg.netbeans.org/javafx/rev/750b7c473828 Verified in NB 6.8 patch1 2010-01-25_21-27-59 |