Pol  Revision:3cfda13
compiler.cpp File Reference
#include "compiler.h"
#include <cstddef>
#include <cstdio>
#include <cstring>
#include <exception>
#include <ostream>
#include <stdexcept>
#include <stdlib.h>
#include "../clib/clib.h"
#include "../clib/filecont.h"
#include "../clib/fileutil.h"
#include "../clib/logfacility.h"
#include "../clib/passert.h"
#include "../clib/stlutil.h"
#include "../clib/strutil.h"
#include "../plib/pkg.h"
#include "compctx.h"
#include "compilercfg.h"
#include "eprog.h"
#include "fmodule.h"
#include "modules.h"
#include "objmembers.h"
#include "symcont.h"
#include "token.h"
#include "tokens.h"
#include "userfunc.h"
#include <format/format.h>

Go to the source code of this file.

Classes

struct  Pol::Bscript::Candidate
 

Namespaces

 Pol
 
 Pol::Bscript
 

Functions

std::string Pol::Bscript::getpathof (const std::string &fname)
 
bool Pol::Bscript::is_web_script (const char *file)
 
bool Pol::Bscript::mismatched_end (const Token &token, BTokenId correct)
 
Token * Pol::Bscript::optimize_double_operation (Token *left, Token *oper, Token *right)
 
Token * Pol::Bscript::optimize_double_operation (Token *oper, Token *value)
 
Token * Pol::Bscript::optimize_long_operation (Token *left, Token *oper, Token *right)
 
Token * Pol::Bscript::optimize_long_operation (Token *oper, Token *value)
 
Token * Pol::Bscript::optimize_string_operation (Token *left, Token *oper, Token *right)
 
Token * Pol::Bscript::optimize_string_operation (Token *, Token *)
 
void Pol::Bscript::preprocess_web_script (Clib::FileContents &fc)
 

Variables

int Pol::Bscript::include_debug
 

Detailed Description

History
  • 2005/07/26 Shinigami: if you use 'Include ":blah:blubb";' eCompile will search for ":blah:blubb.inc" and ":blah:include/blubb.inc". It will use first file found. If both files exist eCompile will print a Warning.
  • 2005/07/28 Shinigami: Assignment inside Condition Check will produce Warning on -v5 only
  • 2005-09-07 Folko: No longer warn about unused variables in BASIC style for loops
  • 2005/09/08 Shinigami: Will warn about unused variables in BASIC style for loops on -v5 only
  • 2005/09/25 Shinigami: BugFix inside FileCheck for multiple include of same File e.g.: inside scripts extcmd est extcmd.src: Include "../../../pkg/std/housing/include/test"; Include ":housing:test"; Include ":housing:include/test"; will be handled as same file now
  • 2005/11/26 Shinigami: changed "strcmp" into "stricmp" to suppress Script Errors

Definition in file compiler.cpp.