Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 360302

Summary: Some of words are not key words, and should not be syntax highlighted
Product: z_Archived Reporter: fahua jin <jinfahua>
Component: EDTAssignee: Paul Harmon <pharmon>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chenzhh, jspadea, pharmon, svihovec, xiaobinc
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description fahua jin CLA 2011-10-08 02:25:25 EDT
Build Identifier: 0.7.0.v201110072101

1) Create an EGL program, and copy following to the program.
    numType num;
    aaa Money;
2) Editor will prompt the type num & Money cannot be resolved, but they're still syntax highlighted.

Reproducible: Always
Comment 1 Tony Chen CLA 2011-10-08 02:46:38 EDT
Hi Paul, I set this to Compiler component since I guess the key words are defined in CUP or lexer and should be modified there. If this is not true, please help assign to the proper component. Thanks!
Comment 2 Paul Harmon CLA 2011-10-10 08:15:53 EDT
I am setting this to future as this is a minor thing. Also, in 1.0, the parser is going to be updated to remove all of the keywords for the primitive types.
Comment 3 fahua jin CLA 2012-06-20 22:32:23 EDT
Change from 0.8.1 to future of target milestone field.
Comment 4 Paul Harmon CLA 2012-06-21 14:38:08 EDT
As part of the long term solution for types, I have updated EGLKeywordHandler so that NONE of our "primitive" types are considered to be keywords anymore for the sake of higlighting in the editor.

Our supported primitive types such as any, int, date... are still keywords as far as our parser is concerned. Eventually, this will no longer be the case.
Comment 5 fahua jin CLA 2012-06-27 21:33:39 EDT
Verified in 0.8.1.v201206271108.