summaryrefslogtreecommitdiff
path: root/ace/Svc_Conf_Lexer_Guard.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2001-07-29 06:10:07 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2001-07-29 06:10:07 +0000
commitac8e14dcc06c7653e0629b04cb926737f5492c09 (patch)
tree3f41ae0351ab00180fb9e598bdfdefb3caedbe84 /ace/Svc_Conf_Lexer_Guard.cpp
parentbdca7b1605e04300579ea0a4f5c74eaa92e5633e (diff)
downloadATCD-ac8e14dcc06c7653e0629b04cb926737f5492c09.tar.gz
ChangeLogTag:Sat Jul 28 23:03:24 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'ace/Svc_Conf_Lexer_Guard.cpp')
-rw-r--r--ace/Svc_Conf_Lexer_Guard.cpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/ace/Svc_Conf_Lexer_Guard.cpp b/ace/Svc_Conf_Lexer_Guard.cpp
new file mode 100644
index 00000000000..740804eff83
--- /dev/null
+++ b/ace/Svc_Conf_Lexer_Guard.cpp
@@ -0,0 +1,32 @@
+// -*- C++ -*-
+
+#include "ace/Svc_Conf.h"
+#include "ace/Object_Manager.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 ();
+}