13 unsigned char test_char;
16 static char tokens_buff1[1000];
21 if (str_to_parse && *str_to_parse) {
22 parse_pos = (
char *)str_to_parse;
23 new_token_flag =
true;
25 for (i = 0; (i < 1000) && (temp_tokens_table1.
uPropCount < 30); ++i) {
26 test_char = *parse_pos;
27 tokens_buff1[i] = test_char;
28 if (!test_char)
break;
29 if ((test_char !=
' ') && (test_char !=
',') &&
30 (test_char !=
'\t') ||
32 if (test_char ==
'"') {
33 tokens_buff1[i] =
'\0';
34 new_token_flag =
true;
39 if (*(parse_pos + 1) ==
'"') {
53 new_token_flag =
false;
56 tokens_buff1[i] =
'\0';
57 new_token_flag =
true;
61 tokens_buff1[i] =
'\0';
74 unsigned char test_char;
77 static char tokens_buff2[1000];
81 if (str_to_parse && *str_to_parse) {
82 parse_pos = (
char *)str_to_parse;
83 new_token_flag =
true;
85 for (i = 0; (i < 1000) && (temp_tokens_table2.
uPropCount < 30); ++i) {
86 test_char = *parse_pos;
87 tokens_buff2[i] = test_char;
88 if (!test_char)
break;
89 if ((test_char !=
' ') && (test_char !=
',') &&
90 (test_char !=
'\t') ||
92 if (test_char ==
'"') {
93 tokens_buff2[i] =
'\0';
94 new_token_flag =
true;
99 if (*(parse_pos + 1) ==
'"') {
107 if (new_token_flag) {
113 new_token_flag =
false;
116 tokens_buff2[i] =
'\0';
117 new_token_flag =
true;
122 tokens_buff2[i] =
'\0';