On 10/12/2011 04:58 PM, 3dw...@verizon.net wrote:
+  const char *text = (const char *)tok->val.str.text;
+  char delim;
+  unsigned int i;
+  for (i = 0; i < len; ++i)
+    if (text[i] == '\'' || text[i] == '"')
+      break;

This seems like it will get confused by embedded ' or \" in the string itself.

Jason

Reply via email to