Skip to content

Commit

Permalink
forgot to comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hugo committed Aug 2, 2024
1 parent 3d2fbe3 commit 98cef36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/symbol_table/create_symbol_table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ class SymbolTableVisitor{
else if( child?.grammarType === DeclarationType.Rule_let_block){
this.register_vars_rule(child, DeclarationType.PRVariable, editor, root)
}
else if (child?.grammarType === 'include'){
/*else if (child?.grammarType === 'include'){
const fileName = getName(child.child(2), editor);
const currentFileDir = path.dirname(editor.document.uri.fsPath);
const filePath = path.join(currentFileDir, fileName);
Expand Down Expand Up @@ -402,15 +402,15 @@ class SymbolTableVisitor{
throw new Error('Method not implemented.');
}
};

if (includedEditor) {
const includedFileContent = await vscode.workspace.fs.readFile(includedFileUri);
const includedFileText = includedFileContent.toString();
const tree_root = await parseText(includedFileText);
await this.visit(tree_root, includedEditor, diags);
}
}
}*/
else{
if(child !== null){
await this.visit(child, editor, diags);
Expand Down

0 comments on commit 98cef36

Please sign in to comment.