Lines Matching refs:line_ptr
27 * parse(line_ptr, argc_ptr)
33 * line_ptr (char *)
45 char **ss_parse(int sci_idx, register char *line_ptr, int *argc_ptr)
62 cp = line_ptr; /* cp is for output */
66 printf ("character `%c', mode %d\n", *line_ptr, parse_mode);
70 if (*line_ptr == '\0')
72 if (*line_ptr == ' ' || *line_ptr == '\t') {
73 line_ptr++;
76 if (*line_ptr == '"') {
79 cp = line_ptr++;
87 cp = line_ptr;
93 argv[argc++] = line_ptr;
98 if (*line_ptr == '\0') {
102 else if (*line_ptr == ' ' || *line_ptr == '\t') {
104 line_ptr++;
107 else if (*line_ptr == '"') {
108 line_ptr++;
112 *cp++ = *line_ptr++;
116 if (*line_ptr == '\0') {
123 else if (*line_ptr == '"') {
124 if (*++line_ptr == '"') {
126 line_ptr++;
133 *cp++ = *line_ptr++;