[Prev][Next][Index]

Unparsing problems




Hi,

I'm having problems with SgFile::unparse(). It doesn't like things like: 

main()
{
   char  c = '\0';

   ...
}

When I call SgFile::unparse() all I get is

main()
{
   char c = '


Obviously, unparse is taking \0 literally and chopping the rest of the
file. Of course I could be doing something wrong. That wouldn't surprise
me one bit.

Thanks. Diego.

-- 
Diego Novillo (diego@cs.ualberta.ca)    |      Dept of Computing Science
WWW http://web.cs.ualberta.ca/~diego    |          University of Alberta
Use 'finger' to get my PGP public key   |     Edmonton, Alberta - Canada