diff options
Diffstat (limited to 'ACE/ace/Svc_Conf_Lexer.cpp')
-rw-r--r-- | ACE/ace/Svc_Conf_Lexer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ACE/ace/Svc_Conf_Lexer.cpp b/ACE/ace/Svc_Conf_Lexer.cpp index 434527ae464..08d2f65d76b 100644 --- a/ACE/ace/Svc_Conf_Lexer.cpp +++ b/ACE/ace/Svc_Conf_Lexer.cpp @@ -84,6 +84,8 @@ struct ace_yy_buffer_state #endif /* ACE_USES_WCHAR */ } + ACE_ALLOC_HOOK_DECLARE; + // Input related char input_[ACE_YY_CONVERSION_SPACE]; size_t index_; @@ -102,6 +104,8 @@ struct ace_yy_buffer_state #endif /* ACE_USES_WCHAR */ }; +ACE_ALLOC_HOOK_DEFINE(ace_yy_buffer_state) + // ****************************************************************** // Global functions // ****************************************************************** @@ -242,7 +246,9 @@ ACE_Svc_Conf_Lexer::input (ACE_Svc_Conf_Param* param, } else { +#ifndef ACE_LACKS_STDERR ACE_OS::fprintf (stderr, "ERROR: input in scanner failed\n"); +#endif ACE_OS::exit (2); } } |