Skip to content

Commit 317d6e9

Browse files
authored
Fix findField (#1660)
1 parent 02ae5a6 commit 317d6e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wasm/wasm-binary.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1200,6 +1200,8 @@ void WasmBinaryBuilder::readSourceMapHeader() {
12001200
}
12011201
} else if (matching && name[pos] == ch) {
12021202
++pos;
1203+
} else if (matching) {
1204+
matching = false;
12031205
}
12041206
}
12051207
skipWhitespace();

0 commit comments

Comments
 (0)