forked from cparse/cparse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
builtin-features.inc
47 lines (37 loc) · 1005 Bytes
/
builtin-features.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#include <cstdio>
#include <cstdlib>
#include <string>
#include <stdexcept>
#include <cerrno>
#include <sstream>
#include <iostream>
#include <cctype> // For tolower() and toupper()
#include "./shunting-yard.h"
#include "./shunting-yard-exceptions.h"
/* * * * * Built-in Features: * * * * */
/**
* Force the Startup classes to run
* at static initialization time:
*/
#ifdef STATIC_CPARSE_STARTUP
#define __CPARSE_STARTUP __Startup__
#else
#define __CPARSE_STARTUP
#endif
#include "./builtin-features/functions.inc"
#include "./builtin-features/operations.inc"
#include "./builtin-features/reservedWords.inc"
#include "./builtin-features/typeSpecificFunctions.inc"
/**
* If STATIC_CPARSE_STARTUP is undefined
* declare a startup function to initialize
* all built-in features:
*/
#ifndef STATIC_CPARSE_STARTUP
void cparse_startup() {
builtin_functions::Startup();
builtin_operations::Startup();
builtin_reservedWords::Startup();
builtin_typeSpecificFunctions::Startup();
}
#endif