Semantic cannot parse a c++ enum
Vincent Semeria <[email protected]>
| Newsgroups | gmane.emacs.cedet |
|---|---|
| Message-ID | <CAJJyN4vj1Rzk54GZEfh9yP8EFtx1tM--HKq7u9=qdtVGAeT=BA@mail.gmail.com> |
Hello, In the attached c++ file which contains a simple enum and 2 functions, set the point in function main, on word seBadPassword (an entry of the enum). Then run semantic-ia-fast-jump, which will fail to locate this entry in the enum's definition, whereas it's only 15 lines above. Thanks, Vincent ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ Cedet-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cedet-devel
BugSemanticEnum.cpp
(text/x-c++src, 1.1 KB)
enum securityEvent
{ //les 100 premiers sont reservés aux droits des utilisateurs de type 'eAccessRightType' dans csacces.
seLogin = 101, //scLog
seLogout, //scLog
seChangePassword, //scUserConfig
seChangeRights, //scUserConfig
seChangeEntries, //scUserConfig 105
seChangeTables, //scUserConfig
seChangeAttributes, //scUserConfig
seChangeMachine, //scUserConfig
seBadPassword, //scWarning
seStart, // scEndOfDay 110
seEnd,
seSignoff,
seRollback,
seDisable, // scLog
seTwoForecastImpossible, //scWarning 115
// a partir d'ici, les chaines sont dans les ressources MFC, stringtable 403
seStartIndexString = seTwoForecastImpossible,
seBadWorkstation, //scWarning
seLicenseCheckFailure , // scLicense
seLicenseLostConnectionToServer, // scLicense
seLicenseBackupSwitch, // scLicense
seUserCreate, //scUserConfig 120
seUserDelete, //scUserConfig
seChangeQueries,
seChangeName, //scUserConfig
seChangeParents, //scUserConfig
seChangeFilters //scUserConfig
} ;
void WriteEvent(securityEvent event)
{
}
void main()
{
WriteEvent(seBadPassword);
}