#include <vector>
#include <fstream>
#include <sstream>
#include <stack>
#include "settings.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
Namespaces | |
namespace | Ishtar |
Defines | |
#define | CHECK_NOT_EOF |
Macro that return false and an error message if parser encountered EOF. | |
#define | CHECK_VAL |
Macro that return false and an error message if anything else then a value is encountered. | |
Functions | |
void | initSettings (int argc, char *argv[]) |
Create the settings object using arguments from argv[]. | |
void | cleanupSettings (void) |
Delete the settings object. | |
Variables | |
Settings * | settings = NULL |
Unique global instance of Settings. |
|
Value: if (token.type == Token::END_OF_INPUT) \ { \ std::cerr << "!!! Scan (parser) error @ " << line << ':' << column << " : unexpected EOF" << std::endl; \ return false; \ }
|
|
Value: if (token.type != Token::VAL) \ { \ std::cerr << "!!! Scan (parser) error @ " << line << ':' << column << " : value expected" << std::endl; \ return false; \ }
|