diff options
Diffstat (limited to 'TAO/TAO_IDL/fe/mcpp_tao_yyinput.h')
-rw-r--r-- | TAO/TAO_IDL/fe/mcpp_tao_yyinput.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/TAO/TAO_IDL/fe/mcpp_tao_yyinput.h b/TAO/TAO_IDL/fe/mcpp_tao_yyinput.h deleted file mode 100644 index 888c725ca75..00000000000 --- a/TAO/TAO_IDL/fe/mcpp_tao_yyinput.h +++ /dev/null @@ -1,28 +0,0 @@ -/** $Id$ - * @file mcpp_tao_yyinput.h - * @author William R. Otte <wotte@dre.vanderbilt.edu> - * - * Provides a YY_INPUT macro which enables lexing from an in-memory buffer - * instead of a file. - */ - -#ifndef MCPP_YYINPUT_H -#define MCPP_YYINPUT_H - -extern char *tao_preproc_buffer; -extern int tao_preproc_buffer_length; -extern int tao_preproc_buffer_pos; - -#define TAO_YY_INPUT(buf,result,max_size) \ - { \ - result = 0; \ - while ((tao_preproc_buffer_pos < tao_preproc_buffer_length) && \ - ((size_t) result < (size_t) max_size)) \ - { \ - buf[result] = tao_preproc_buffer[tao_preproc_buffer_pos]; \ - ++tao_preproc_buffer_pos; \ - ++result; \ - } \ - if (result == 0) result = TAO_YY_NULL;} \ - -#endif /* MCPP_YYINPUT_H */ |