From 50a8624f59a08610ddf026124cf13d269af6d97d Mon Sep 17 00:00:00 2001 From: Spoike Date: Thu, 6 Oct 2011 19:59:53 +0000 Subject: [PATCH] no dupe _("") stuff. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3908 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/qclib/qcc_pr_comp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/qclib/qcc_pr_comp.c b/engine/qclib/qcc_pr_comp.c index 6e677b9e2..3a3ab0f16 100644 --- a/engine/qclib/qcc_pr_comp.c +++ b/engine/qclib/qcc_pr_comp.c @@ -3904,7 +3904,7 @@ static QCC_def_t *QCC_MakeStringConstInternal(char *value, pbool translate) string = QCC_CopyString (value); - pHash_Add(&stringconstdefstable, strings+string, cn, qccHunkAlloc(sizeof(bucket_t))); + pHash_Add(translate?&stringconstdefstable_trans:&stringconstdefstable, strings+string, cn, qccHunkAlloc(sizeof(bucket_t))); G_INT(cn->ofs) = string; @@ -8350,7 +8350,7 @@ void QCC_PR_ParseInitializerType(int arraysize, QCC_def_t *def, QCC_type_t *type else if (type->type == ev_integer && tmp->type->type == ev_float) tmp = QCC_PR_Statement (&pr_opcodes[OP_CONV_FTOI], tmp, 0, NULL); else - QCC_PR_ParseError (ERR_BADIMMEDIATETYPE, "wrong initializer type"); + QCC_PR_ParseErrorPrintDef (ERR_BADIMMEDIATETYPE, def, "wrong initializer type"); } }