[omniORB] Omniidl - Ast

Santosh Kharolkar santosh.kharolkar@ubs.com
Tue, 05 Dec 2000 11:52:27 +0100


Hello
	I am trying to use the omniidl for some small custom stubs generation
along with standard backends.

	I have two sugestions/queries/problems:

	1. Is it possible to have a method called scopedName on parameter which
is scopedName of operation followed by the parameter name. (What to do
with return value??)

	2. The niout function on StringStream does not work,....If i replace
the niout by out it works fine.

    stream.niout(val,self.hgen.SklParam)
  File "d:\omni\lib\python\omniidl_be\cxx\util.py", line 446, in niout
    for l in string.split(self.regex.sub(replace, text), "\n"):
  File "d:\python20\lib\sre.py", line 115, in _sub
    return _subn(pattern, template, string, count)[0]
  File "d:\python20\lib\sre.py", line 140, in _subn
    return _join(s, string[:0]), n
  File "d:\python20\lib\sre.py", line 89, in _join
    return string.join(seq, sep[:0])
  File "d:\python20\lib\string.py", line 129, in join
    return sep.join(words)
TypeError: sequence item 19: expected string, instance found
omniidl: No error

Regards
Santosh.