![]() |
mutable
A Database System for Research and Fast Prototyping
|
#include "lex/Lexer.hpp"#include <mutable/lex/TokenType.hpp>#include <mutable/util/ArgParser.hpp>#include <mutable/util/Diagnostic.hpp>#include <mutable/util/fn.hpp>#include <cerrno>#include <cstdlib>#include <cstring>#include <fstream>#include <iostream>Go to the source code of this file.
Macros | |
| #define | ADD(TYPE, VAR, INIT, SHORT, LONG, DESCR, CALLBACK) |
Functions | |
| void | usage (std::ostream &out, const char *name) |
| int | main (int argc, const char **argv) |
| #define ADD | ( | TYPE, | |
| VAR, | |||
| INIT, | |||
| SHORT, | |||
| LONG, | |||
| DESCR, | |||
| CALLBACK | |||
| ) |
| int main | ( | int | argc, |
| const char ** | argv | ||
| ) |
Definition at line 24 of file lex.cpp.
References ADD, m::ArgParser::args(), m::ast::Lexer::next(), m::Diagnostic::num_errors(), m::ArgParser::parse_args(), show_help, m::streq(), and usage().