summaryrefslogtreecommitdiff
path: root/ace/Svc_Conf_Lexer_Guard.cpp
blob: 91724882ef7ef0270ae5759460817daac242d237 (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
// -*- C++ -*-

#include "ace/Svc_Conf.h"

#include "ace/Svc_Conf_Lexer_Guard.h"

ACE_RCSID (ace,
           Svc_Conf_Lexer_Guard,
           "$Id$")

ACE_Svc_Conf_Lexer_Guard::ACE_Svc_Conf_Lexer_Guard (FILE *file)
{
  // External synchronization is required.

  ::ace_yy_push_buffer (file);
}

ACE_Svc_Conf_Lexer_Guard::ACE_Svc_Conf_Lexer_Guard (const char *directive)
{
  // External synchronization is required.

  ::ace_yy_push_buffer (directive);
}


ACE_Svc_Conf_Lexer_Guard::~ACE_Svc_Conf_Lexer_Guard (void)
{
  // External synchronization is required.

  ::ace_yy_pop_buffer ();
}