When stringifying data, declare data objects after they are defined,
authorTaylor R. Campbell <net/mumble/campbell>
Thu, 28 Aug 2008 19:28:29 +0000 (19:28 +0000)
committerTaylor R. Campbell <net/mumble/campbell>
Thu, 28 Aug 2008 19:28:29 +0000 (19:28 +0000)
commit91f3a3fdb0d90e4cd018d5d28e945b2d151569be
tree5d377403a64a9ae4bd2ab2b2402ef3adf5e22764
parent68f30b35d69860bcb5d0cab4127e32156670dcc5
When stringifying data, declare data objects after they are defined,
since the declaration is not a C forward declaration but a fragment of
C code that refers to the defined object and therefore must follow its
definition.  This fixes compilation of source files that contain only
a literal datum (including empty source files, such as one finds in
scmutils).
v7/src/compiler/machines/C/cout.scm