FreeBASIC  0.91.0
error.bas File Reference
#include "fb.bi"
#include "fbint.bi"
#include "ir.bi"
#include "lex.bi"
#include "parser.bi"
#include "hash.bi"
Include dependency graph for error.bas:

Go to the source code of this file.

Data Structures

class  ERRPARAMLOCATION
 
class  FB_ERRCTX
 
class  FBWARNING
 

Functions

function_as_const_zstring_ptr hMakeParamDesc (byval_as_const_zstring_ptr msgex)
 
sub errInit ()
 
sub errEnd ()
 
sub errHideFurtherErrors ()
 
function_as_integer errGetCount ()
 
sub errPushParamLocation (byval_as_FBSYMBOL_ptr proc, byval_as_integer tk, byval_as_integer paramnum, byval_as_zstring_ptr paramid)
 
sub errPopParamLocation ()
 
private function_as_integer errHaveParamLocation ()
 
private sub hPrintErrMsg (byval_as_integer errnum, byval_as_const_zstring_ptr msgex, byval_as_FB_ERRMSGOPT options, byval_as_integer linenum, byval_as_integer showerror=TRUE, byval_as_const_zstring_ptr customText=0)
 
sub errReportEx (byval_as_integer errnum, byval_as_const_zstring_ptr msgex, byval_as_integer linenum, byval_as_FB_ERRMSGOPT options, byval_as_const_zstring_ptr customText)
 
private
function_as_const_zstring_ptr 
hAddToken (byval_as_integer isbefore, byval_as_integer addcomma, byval_as_zstring_ptr msgex=NULL)
 
sub errReport (byval_as_integer errnum, byval_as_integer isbefore=FALSE, byval_as_const_zstring_ptr customText=FALSE)
 
sub errReportWarnEx (byval_as_integer msgnum, byval_as_const_zstring_ptr msgex, byval_as_integer linenum, byval_as_FB_ERRMSGOPT options)
 
sub errReportWarn (byval_as_integer msgnum, byval_as_const_zstring_ptr msgex, byval_as_FB_ERRMSGOPT options)
 
sub errReportNotAllowed (byval_as_FB_LANG_OPT opt, byval_as_integer errnum, byval_as_zstring_ptr msgex)
 
sub errReportParam (byval_as_FBSYMBOL_ptr proc, byval_as_integer paramnum, byval_as_zstring_ptr paramid, byval_as_integer msgnum)
 
sub errReportParamWarn (byval_as_FBSYMBOL_ptr proc, byval_as_integer paramnum, byval_as_zstring_ptr paramid, byval_as_integer msgnum)
 
sub errReportUndef (byval_as_integer errnum, byval_as_zstring_ptr id)
 

Variables

FB_ERRCTX errctx
 
FBWARNING warningMsgs [toFB_WARNINGMSGS+1] =
 
const_zstring_ptr errorMsgs [toFB_ERRMSGS+1] =>
 

Function Documentation

sub errEnd ( )

Definition at line 407 of file error.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer errGetCount ( )

Definition at line 418 of file error.bas.

Here is the caller graph for this function:

private function_as_integer errHaveParamLocation ( )

Definition at line 453 of file error.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub errHideFurtherErrors ( )

Definition at line 414 of file error.bas.

Here is the caller graph for this function:

sub errInit ( )

Definition at line 392 of file error.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub errPopParamLocation ( )

Definition at line 448 of file error.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub errPushParamLocation ( byval_as_FBSYMBOL_ptr  proc,
byval_as_integer  tk,
byval_as_integer  paramnum,
byval_as_zstring_ptr  paramid 
)

Definition at line 423 of file error.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub errReport ( byval_as_integer  errnum,
byval_as_integer  isbefore = FALSE,
byval_as_const_zstring_ptr  customText = FALSE 
)

Definition at line 631 of file error.bas.

Here is the call graph for this function:

sub errReportEx ( byval_as_integer  errnum,
byval_as_const_zstring_ptr  msgex,
byval_as_integer  linenum,
byval_as_FB_ERRMSGOPT  options,
byval_as_const_zstring_ptr  customText 
)

Definition at line 548 of file error.bas.

Here is the call graph for this function:

sub errReportNotAllowed ( byval_as_FB_LANG_OPT  opt,
byval_as_integer  errnum,
byval_as_zstring_ptr  msgex 
)

Definition at line 730 of file error.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub errReportParam ( byval_as_FBSYMBOL_ptr  proc,
byval_as_integer  paramnum,
byval_as_zstring_ptr  paramid,
byval_as_integer  msgnum 
)

Definition at line 875 of file error.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub errReportParamWarn ( byval_as_FBSYMBOL_ptr  proc,
byval_as_integer  paramnum,
byval_as_zstring_ptr  paramid,
byval_as_integer  msgnum 
)

Definition at line 889 of file error.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub errReportUndef ( byval_as_integer  errnum,
byval_as_zstring_ptr  id 
)

Definition at line 904 of file error.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub errReportWarn ( byval_as_integer  msgnum,
byval_as_const_zstring_ptr  msgex,
byval_as_FB_ERRMSGOPT  options 
)

Definition at line 718 of file error.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub errReportWarnEx ( byval_as_integer  msgnum,
byval_as_const_zstring_ptr  msgex,
byval_as_integer  linenum,
byval_as_FB_ERRMSGOPT  options 
)

Definition at line 651 of file error.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

private function_as_const_zstring_ptr hAddToken ( byval_as_integer  isbefore,
byval_as_integer  addcomma,
byval_as_zstring_ptr  msgex = NULL 
)

Definition at line 590 of file error.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

private function_as_const_zstring_ptr hMakeParamDesc ( byval_as_const_zstring_ptr  msgex)

Definition at line 757 of file error.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

private sub hPrintErrMsg ( byval_as_integer  errnum,
byval_as_const_zstring_ptr  msgex,
byval_as_FB_ERRMSGOPT  options,
byval_as_integer  linenum,
byval_as_integer  showerror = TRUE,
byval_as_const_zstring_ptr  customText = 0 
)

Definition at line 459 of file error.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

FB_ERRCTX errctx

Definition at line 42 of file error.bas.

const_zstring_ptr errorMsgs[toFB_ERRMSGS+1] =>

Definition at line 85 of file error.bas.

FBWARNING warningMsgs[toFB_WARNINGMSGS+1] =

Definition at line 44 of file error.bas.