From ae87121a08c4e913ce453a76bff46549d2fd64d4 Mon Sep 17 00:00:00 2001 From: Adrien Kunysz Date: Wed, 13 Oct 2010 11:27:02 -0400 Subject: [PATCH] improve error message for startup-time global-var allocation failure --- translate.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translate.cxx b/translate.cxx index fc3bce49f..2e6a7de1e 100644 --- a/translate.cxx +++ b/translate.cxx @@ -1255,7 +1255,7 @@ c_unparser::emit_module_init () // Allocation can in general continue. o->newline() << "if (rc) {"; - o->newline(1) << "_stp_error (\"global variable " << v->name << " allocation failed\");"; + o->newline(1) << "_stp_error (\"global variable '" << v->name << "' allocation failed\");"; o->newline() << "goto out;"; o->newline(-1) << "}"; -- 2.43.5