(svn r6875) -Feature: Allow for " to be in console tokens. Escape them with \. eg \".
--- a/console.c Sat Oct 21 19:32:46 2006 +0000
+++ b/console.c Sat Oct 21 22:24:28 2006 +0000
@@ -1091,6 +1091,12 @@
case '"': /* Tokens enclosed in "" are one token */
longtoken = !longtoken;
break;
+ case '\\': /* Escape character for "" */
+ if (cmdptr[1] == '"' && tstream_i + 1 < lengthof(tokenstream)) {
+ tokenstream[tstream_i++] = *++cmdptr;
+ break;
+ }
+ /* fallthrough */
default: /* Normal character */
tokenstream[tstream_i++] = *cmdptr;