#include "preprocess.hh"
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <vector>
#include <iostream>
Go to the source code of this file.
Defines | |
#define | STDINCPP "gcc -E -" |
Typedefs | |
typedef std::list< std::string > | StringList |
typedef std::vector< std::string > | StringVector |
Functions | |
std::string | preprocess (const string &fichier, const StringList &options) |
static StringVector | split (const string &str, const char *char_set=" \t") |
#define STDINCPP "gcc -E -" |
Appel du preprocesseur C
Definition at line 21 of file preprocess.cc.
typedef std::list<std::string> StringList |
Definition at line 24 of file preprocess.cc.
typedef std::vector<std::string> StringVector |
Definition at line 25 of file preprocess.cc.
std::string preprocess | ( | const string & | fichier, |
const StringList & | options | ||
) |
Definition at line 46 of file preprocess.cc.
static StringVector split | ( | const string & | str, |
const char * | char_set = " \t" |
||
) | [static] |
Definition at line 27 of file preprocess.cc.