p++;
state = got_lf;
}
+ else if (g_ascii_isspace (*p)) {
+ /* We have \r<space>*, allow to stay in this state */
+ p ++;
+ }
else {
p++;
state = skip_char;
else if (*p == '\r') {
state = got_linebreak;
}
+ else if (g_ascii_isspace (*p)) {
+ /* We have \n<space>*, allow to stay in this state */
+ p ++;
+ }
else {
p++;
state = skip_char;
p++;
state = got_linebreak_lf;
}
+ else if (g_ascii_isspace (*p)) {
+ /* We have <linebreak><space>*, allow to stay in this state */
+ p ++;
+ }
else {
p++;
state = skip_char;
state = got_linebreak_lf;
p++;
}
+ else if (g_ascii_isspace (*p)) {
+ /* We have \r\n<space>*, allow to keep in this state */
+ p ++;
+ }
else {
p++;
state = skip_char;