Skip to content

Commit ab34030

Browse files
committed
删除console.log
1 parent 81edaba commit ab34030

File tree

5 files changed

+0
-7
lines changed

5 files changed

+0
-7
lines changed

src/DOSBox.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ export class DOSBox{
2626
else{
2727
let linuxcommand='dosbox -conf "'+conf.dosboxconfuri.fsPath+'" '
2828
if(doc) linuxcommand='rm -f [Tt]*.*;cp "'+doc.fileName+'" T.ASM;'+linuxcommand
29-
console.log(linuxcommand+boxcommand)
3029
execSync(linuxcommand+boxcommand,{cwd:conf.workpath})
3130

3231
}

src/MSDOS-player.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export class MSDOSplayer{
2424
filecontent=doc.getText()
2525
const filename = doc.fileName
2626
let command='"'+conf.msbatpath+'" "'+conf.path+'" '+conf.MASMorTASM+' "'+filename+'" "'+conf.workpath+'"'
27-
console.log(command)
2827
exec(command,{cwd:conf.path,shell:'cmd.exe'},(error, stdout, stderr) =>
2928
{
3029
if (error) {console.error(`exec playerasm.bat: ${error}`);}

src/language/diagnose.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ export class landiagnose{
2727
let flag =2
2828
this.asmerror=0
2929
this.asmwarn=0
30-
//console.log(text,info)
3130
let MASMorTASM:string|undefined
3231
if (ASM) MASMorTASM=ASM
3332
else{

src/language/provider.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ class TasmDefProvider implements vscode.DefinitionProvider{
4646
class Tasmsymbolprovider implements vscode.DocumentSymbolProvider{
4747
provideDocumentSymbols(document: vscode.TextDocument, token: vscode.CancellationToken){
4848
let docsymbol:vscode.DocumentSymbol[]=[]
49-
console.log(document,document.getText())
5049
docsymbol=info.sacnDoc(document)
5150
return docsymbol
5251
}

src/language/wordinfo.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ function getvarlabel(item:string,index:number,belong?:string):vscode.DocumentSym
111111
srange=new vscode.Range(index,start,index,start+name.length)
112112
kind=SymbolVSCfy(symboltype.label)
113113
vscsymbol= new vscode.DocumentSymbol(name,r[2],kind,range,srange)
114-
//console.log(vscsymbol)
115114
}
116115
r=item.match (/\s*(\w+)\s+[dD][bBwWdDfFqQtT]\s+/)
117116
if(r){
@@ -123,7 +122,6 @@ function getvarlabel(item:string,index:number,belong?:string):vscode.DocumentSym
123122
range=new vscode.Range(index,0,index,item.length)
124123
srange=new vscode.Range(index,start,index,start+r[1].length)
125124
vscsymbol= new vscode.DocumentSymbol(name,item,kind,range,srange)
126-
console.log(vscsymbol)
127125
}
128126
return vscsymbol
129127
}
@@ -138,7 +136,6 @@ export function sacnDoc(document:vscode.TextDocument) : vscode.DocumentSymbol[]
138136
if(line!==null) asmline.push(line)
139137
}
140138
)
141-
console.log(asmline)
142139
let skip:boolean,i:number
143140
asmline.forEach(
144141
(line,index,array)=>{

0 commit comments

Comments
 (0)