blob: 59792271f9a96288fa956b7b59e1431307648df9 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
//=============================================================================
/**
* @file be_util.cpp
*
* Static helper methods used by multiple visitors.
*
* @author Jeff Parsons
*/
//=============================================================================
#include "be_util.h"
#include "be_extern.h"
#include "ast_generator.h"
#include "ace/Log_Msg.h"
// Prepare an argument for a BE.
void
be_util::prep_be_arg (char *)
{
}
void
be_util::arg_post_proc (void)
{
}
void
be_util::usage (void)
{
ACE_DEBUG ((
LM_DEBUG,
ACE_TEXT (" -L\t\t\tEnable locking at the IDL file level\n")
));
ACE_DEBUG ((
LM_DEBUG,
ACE_TEXT (" -r\t\t\tRemove contents of IDL file(s) from repository\n")
));
ACE_DEBUG ((
LM_DEBUG,
ACE_TEXT (" -Si\t\t\tSuppress processing of included IDL files\n")
));
ACE_DEBUG ((
LM_DEBUG,
ACE_TEXT (" -T\t\t\tAllow duplicate typedefs in IDL files\n")
));
}
AST_Generator *
be_util::generator_init (void)
{
AST_Generator *gen = 0;
ACE_NEW_RETURN (gen,
AST_Generator,
0);
return gen;
}
|