We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 214257e commit be2b41fCopy full SHA for be2b41f
source/io.h
@@ -221,6 +221,10 @@ auto starts_with_operator(std::string_view s)
221
break;case '/':
222
case '=':
223
case '!':
224
+ case '*':
225
+ case '%':
226
+ case '^':
227
+ case '~':
228
if (c2 == '=') { return j+2; }
229
return j+1;
230
@@ -239,7 +243,7 @@ auto starts_with_operator(std::string_view s)
239
243
break;case '|':
240
244
case '&':
241
245
if (c2 == c1 && c3 == '=') { return j+3; }
242
- if (c2 == c1) { return j+2; }
246
+ if (c2 == c1 || c2 == '=') { return j+2; }
247
248
249
// >>= >> >= >
0 commit comments