FreeBASIC  0.91.0
pp-define.bas File Reference
#include "fb.bi"
#include "fbint.bi"
#include "lex.bi"
#include "parser.bi"
#include "pp.bi"
#include "list.bi"
#include "dstr.bi"
Include dependency graph for pp-define.bas:

Go to the source code of this file.

Data Structures

class  LEXPP_ARG
 
class  LEXPP_ARGTB
 

Macros

#define LEX_FLAGS   (LEXCHECK_NOWHITESPC or _
 

Functions

sub ppDefineInit ()
 
sub ppDefineEnd ()
 
private sub hReportMacroError (byval_as_FBSYMBOL_ptr s, byval_as_integer errnum)
 
private function_as_integer isMacroAllowed (byval_as_FBSYMBOL_ptr s)
 
private function_as_integer hLoadMacro (byval_as_FBSYMBOL_ptr s)
 
private function_as_integer hLoadDefine (byval_as_FBSYMBOL_ptr s)
 
private function_as_integer hLoadMacroW (byval_as_FBSYMBOL_ptr s)
 
private function_as_integer hLoadDefineW (byval_as_FBSYMBOL_ptr s)
 
function_as_integer ppDefineLoad (byval_as_FBSYMBOL_ptr s)
 
private function_as_FB_DEFTOK_ptr hRtrimMacroText (byval_as_FB_DEFTOK_ptr tokhead, byval_as_FB_DEFTOK_ptr toktail)
 
private function_as_FB_DEFTOK_ptr hReadMacroText (byval_as_integer args, byval_as_FB_DEFPARAM_ptr paramhead, byval_as_integer ismultiline)
 
private sub hReadDefineText (byval_as_FBSYMBOL_ptr sym, byval_as_zstring_ptr defname, byval_as_integer isargless, byval_as_integer ismultiline)
 
private function_as_integer hMatchParamEllipsis ()
 
sub ppDefine (byval_as_integer ismultiline)
 

Macro Definition Documentation

#define LEX_FLAGS   (LEXCHECK_NOWHITESPC or _

Definition at line 14 of file pp-define.bas.

Function Documentation

private function_as_integer hLoadDefine ( byval_as_FBSYMBOL_ptr  s)

Definition at line 1407 of file pp-define.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

private function_as_integer hLoadDefineW ( byval_as_FBSYMBOL_ptr  s)

Definition at line 1717 of file pp-define.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

private function_as_integer hLoadMacro ( byval_as_FBSYMBOL_ptr  s)

Definition at line 1187 of file pp-define.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

private function_as_integer hLoadMacroW ( byval_as_FBSYMBOL_ptr  s)

Definition at line 1498 of file pp-define.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

private function_as_integer hMatchParamEllipsis ( )

Definition at line 2102 of file pp-define.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

private sub hReadDefineText ( byval_as_FBSYMBOL_ptr  sym,
byval_as_zstring_ptr  defname,
byval_as_integer  isargless,
byval_as_integer  ismultiline 
)

Definition at line 2056 of file pp-define.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

private function_as_FB_DEFTOK_ptr hReadMacroText ( byval_as_integer  args,
byval_as_FB_DEFPARAM_ptr  paramhead,
byval_as_integer  ismultiline 
)

Definition at line 1867 of file pp-define.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

private sub hReportMacroError ( byval_as_FBSYMBOL_ptr  s,
byval_as_integer  errnum 
)

Definition at line 1167 of file pp-define.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

private function_as_FB_DEFTOK_ptr hRtrimMacroText ( byval_as_FB_DEFTOK_ptr  tokhead,
byval_as_FB_DEFTOK_ptr  toktail 
)

Definition at line 1835 of file pp-define.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

private function_as_integer isMacroAllowed ( byval_as_FBSYMBOL_ptr  s)

Definition at line 1171 of file pp-define.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub ppDefine ( byval_as_integer  ismultiline)

Definition at line 2128 of file pp-define.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub ppDefineEnd ( )

Definition at line 1161 of file pp-define.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub ppDefineInit ( )

Definition at line 1154 of file pp-define.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer ppDefineLoad ( byval_as_FBSYMBOL_ptr  s)

Definition at line 1805 of file pp-define.bas.

Here is the call graph for this function:

Here is the caller graph for this function: