|
|
Reporter | Sven Barth | Assigned To | Ondrej Pokorny | |
---|
Priority | normal | Severity | minor | Reproducibility | always |
---|
Status | resolved | Resolution | fixed | |
---|
Platform | x86_64 | OS | Linux | |
---|
Product Version | 1.8RC4 | |
---|
|
|
Summary | 0032336: CodeTools complains about context specific keywords used as identifiers |
---|
Description | I recently found myself in the need to use some context specific keywords (e.g. inline, public, etc.) as identifiers for enum values. However while the compiler did not complain about them the IDE's codetools did barf on them and I needed to use "&" to escape them. |
---|
Steps To Reproduce | In the attached source file uncomment the "t := TKeyW" line and try to complete the TKeyW|. |
---|
Additional Information | A good reference for this is the compiler's token.pas file. There the constant arraytokeninfo array defines which keywords are considered as keywords in various modes (the keyword field). |
---|
Tags | No tags attached. |
---|
|
|
Fixed in Revision | 55779 |
---|
LazTarget | - |
---|
Widgetset | |
---|
|
|
Attached Files |
|