trace: Print empty list correctly.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 22 Jun 2011 09:36:44 +0000 (10:36 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 16 Jul 2011 08:29:09 +0000 (09:29 +0100)
commitdfd1aa563dedd71483e00135859ab234ad499ac6
tree9f3bff7b540f2961adf8e5b4709df8ab92bc73e6
parent2fca9037697a7aa590cc17eb5c376f0d9324d0a2
trace: Print empty list correctly.

Empty lists returned by RStringList and RHashtable functions
were incorrectly printed as [""].

Fix this so they are printed as [] instead.

Cherry picked from commit 56b94f5f6aa7981533ad867cc908c6e9cca2ba42.
generator/generator_c.ml