| 152 | } |
| 153 | |
| 154 | static char *trim_ws(char *s) { |
| 155 | while (*s && isspace((unsigned char)*s)) { |
| 156 | s++; |
| 157 | } |
| 158 | char *end = s + strlen(s); |
| 159 | while (end > s && isspace((unsigned char)end[-1])) { |
| 160 | end--; |
| 161 | } |
| 162 | *end = '\0'; |
| 163 | return s; |
| 164 | } |
| 165 | |
| 166 | static void strip_inline_comment(char *s) { |
| 167 | bool in_quote = false; |
no outgoing calls
no test coverage detected