]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
removed single-quoted string support in console parser because it breaks the maplist...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 3 Feb 2007 04:03:01 +0000 (04:03 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 3 Feb 2007 04:03:01 +0000 (04:03 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6775 d7cf8633-e32d-0410-b094-e92efae38249

common.c

index ab5fc3195cda1864e69ccb49143cf26b2e8f1b5e..50fb662ee89b226eab570de4fbd6ecac148992d2 100644 (file)
--- 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