blob: 193d1224de6e3333e8bbee2a81fda68104ca8587 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// file : odb/cxx-token.hxx
// copyright : Copyright (c) 2009-2012 Code Synthesis Tools CC
// license : GNU GPL v3; see accompanying LICENSE file
#ifndef ODB_CXX_TOKEN_HXX
#define ODB_CXX_TOKEN_HXX
#include <string>
#include <vector>
struct cxx_token
{
unsigned int type; // Untyped cpp_ttype.
std::string literal; // Only used for name, string, number, etc.
};
typedef std::vector<cxx_token> cxx_tokens;
#endif // ODB_CXX_TOKEN_HXX
|