Page 1 of 1

Syntax check should use the debugger when enabled

Posted: Sat Jun 01, 2019 12:48 pm
by Sicro
PB-IDE: Compiler => Syntax check
Console: pbcompiler --check --debugger code.pb
Console: pbcompiler --check code.pb

Because the syntax check doesn't take the debugger setting into account, this code can't be checked:

Code: Select all

CompilerIf Not #PB_Compiler_Debugger
  CompilerError "Please activate the debugger!"
CompilerEndIf

; Main code