From a14685b713c8cedf1eb36ec5a292680800ad1a29 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 3 Feb 2007 04:03:01 +0000 Subject: [PATCH] removed single-quoted string support in console parser because it breaks the maplist in nexuiz git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6775 d7cf8633-e32d-0410-b094-e92efae38249 --- common.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/common.c b/common.c index ab5fc319..50fb662e 100644 --- a/common.c +++ b/common.c @@ -909,22 +909,6 @@ skipwhite: com_token[len] = 0; *datapointer = data+1; } - else if (*data == '\'') - { - // quoted string - for (data++;*data != '\'';data++) - { - if (!*data || len >= (int)sizeof(com_token) - 1) - { - com_token[0] = 0; - *datapointer = NULL; - return false; - } - com_token[len++] = *data; - } - com_token[len] = 0; - *datapointer = data+1; - } else { // regular word -- 2.39.2