Issue 57293 - idlc: enumerators with explicit values fail
Summary: idlc: enumerators with explicit values fail
Status: ACCEPTED
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: 680m137
Hardware: All All
: P3 Trivial (vote)
Target Milestone: AOO PleaseHelp
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-03 13:56 UTC by Stephan Bergmann
Modified: 2017-05-20 11:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Stephan Bergmann 2005-11-03 13:56:50 UTC
> cat input.idl
  enum Foo{
    BAR=0,
    BAZ
  };
> idlc input.idl
  input.idl(4) : expression evaluation error: 'Foo'
  idlc: detected 1 errors

The culprit is line 73 of idlc/source/astenum.cxx 1.7, which should be removed
completely.
Comment 1 Stephan Bergmann 2005-11-03 14:07:11 UTC
.
Comment 2 Stephan Bergmann 2007-01-26 10:52:52 UTC
.
Comment 3 jsc 2007-01-26 12:21:15 UTC
accepted
Comment 4 kai.sommerfeld 2007-01-29 15:41:15 UTC
Corrected component.
Comment 5 Marcus 2017-05-20 11:31:07 UTC
Reset assigne to the default "issues@openoffice.apache.org".