[omniORB] showast backend

Svetlana G. Shasharina sveta@tech-x.txcorp.com
Tue, 24 Jul 2001 15:54:44 -0600 (MDT)


Hi all!

When I try this:

 omniidl -bshowast Echo.idl

where Echo.idl:

#ifndef __ECHO_IDL__
#define __ECHO_IDL__

#define __GNU__

interface Echo {
   string echoString(in string mesg);
};

#endif

I get the following:

quad.sveta$omniidl -bshowast Echo.idl
Showing the AST tree: 
AST {
  declarations:
  interface {
Traceback (most recent call last):
  File "/home1/research/sveta/projects/omniORB-3.0.4-gcc2.95/bin/i586_linux_2.0_glibc2.1/omniidlrun.py", line 97, in ?
    omniidl.main.main()
  File "./main.py", line 427, in main
  File "./showast.py", line 61, in run
  File "./omniidl/idlast.py", line 165, in accept
  File "./showast.py", line 113, in visitAST
  File "./omniidl/idlast.py", line 337, in accept
  File "./showast.py", line 137, in visitInterface
  File "./showast.py", line 90, in showID
  File "./tyutil.py", line 231, in mapID
TypeError: second argument must be a class
make: *** [show] Error 1

Does anybody know what do I do wrong?

Sincerely,
Sveta Shasharina