Issue 57293

Summary: idlc: enumerators with explicit values fail
Product: udk Reporter: Stephan Bergmann <stephan.bergmann.secondary>
Component: codeAssignee: AOO issues mailing list <issues>
Status: ACCEPTED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: 680m137   
Target Milestone: AOO PleaseHelp   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

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".