FAUST compiler  0.9.9.6b8
Functions | Variables
compile.cpp File Reference
#include "timing.hh"
#include "compile.hh"
#include "floats.hh"
#include "sigtype.hh"
#include <stdio.h>
#include "sigprint.hh"
#include "ppsig.hh"
#include "sigtyperules.hh"
#include "simplify.hh"
#include "privatise.hh"
Include dependency graph for compile.cpp:

Go to the source code of this file.

Functions

static string wdel (const string &s)
 Removes enclosing whitespaces : ' toto ' -> 'toto'. More...
 

Variables

int gDetailsSwitch
 
string gMasterName
 

Function Documentation

static string wdel ( const string &  s)
static

Removes enclosing whitespaces : ' toto ' -> 'toto'.

Definition at line 148 of file compile.cpp.

Referenced by Compiler::generateUserInterfaceTree(), and Compiler::generateWidgetCode().

149 {
150  size_t i = 0;
151  size_t j = s.size();
152  while (i<j && s[i]==' ') i++;
153  while (j>i && s[j-1] == ' ') j--;
154  return s.substr(i,j-i);
155 }

Here is the caller graph for this function:

Variable Documentation

int gDetailsSwitch

Definition at line 114 of file main.cpp.

Referenced by main(), and process_cmdline().

string gMasterName

Definition at line 106 of file main.cpp.

Referenced by initFaustDirectories(), makeDrawPath(), and makeDrawPathNoExt().