Skip to content

Commit 20af69b

Browse files
committed
fix symbol_table
1 parent e69721c commit 20af69b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

res/html/symbol_table/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@
638638
const m = /(.*?)(:\d+)?$/.exec(loca);
639639
if (m && m.length > 1) {
640640
absPath = m[1].trim();
641-
if (m.length > 2)
641+
if (m.length > 2 && m[2])
642642
lineNumber = parseInt(m[2].substr(1));
643643
vscode.postMessage({
644644
id: 'symbol.gotoDefinition',

0 commit comments

Comments
 (0)