blob: 0299ad5ba99aa748d7a48d235a37f7a45cb73bec (
plain)
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
|
// file : odb/processor.cxx
// copyright : Copyright (c) 2009-2012 Code Synthesis Tools CC
// license : GNU GPL v3; see accompanying LICENSE file
#include <iostream>
#include <odb/context.hxx>
#include <odb/processor.hxx>
#include <odb/relational/processor.hxx>
using namespace std;
void processor::
process (options const& ops,
features& f,
semantics::unit& unit,
semantics::path const&)
{
try
{
// Process types.
//
auto_ptr<context> ctx (create_context (cerr, unit, ops, f, 0));
relational::process ();
}
catch (operation_failed const&)
{
// Processing failed. Diagnostics has already been issued.
//
throw failed ();
}
}
|