We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adb73ff commit def7063Copy full SHA for def7063
mode/webidl/webidl.js
@@ -122,14 +122,12 @@ function readToken(stream, state) {
122
if (stream.match(strings)) return "string";
123
124
// identifier
125
- var pos = stream.pos;
126
if (stream.match(identifiers)) {
127
if (state.startDef) return "def";
128
if (state.endDef && stream.match(/^\s*;/, false)) {
129
state.endDef = false;
130
return "def";
131
}
132
- stream.pos = pos;
133
134
135
if (stream.match(keywords)) return "keyword";
0 commit comments