2004-09-05 20:05:37 +04:00
|
|
|
/*
|
2004-11-22 04:38:40 +03:00
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University.
|
|
|
|
* All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
|
|
|
* All rights reserved.
|
2004-11-28 23:09:25 +03:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
* University of Stuttgart. All rights reserved.
|
2004-11-22 04:38:40 +03:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
2004-09-05 20:05:37 +04:00
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef OMPI_SHOW_HELP_LEX_H
|
|
|
|
#define OMPI_SHOW_HELP_LEX_H
|
|
|
|
|
|
|
|
#include "ompi_config.h"
|
|
|
|
|
|
|
|
#ifdef malloc
|
|
|
|
#undef malloc
|
|
|
|
#endif
|
|
|
|
#ifdef realloc
|
|
|
|
#undef realloc
|
|
|
|
#endif
|
|
|
|
#ifdef free
|
|
|
|
#undef free
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2004-10-21 02:31:03 +04:00
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2004-10-16 01:38:42 +04:00
|
|
|
int ompi_show_help_yylex(void);
|
|
|
|
int ompi_show_help_init_buffer(FILE *file);
|
2004-09-05 20:05:37 +04:00
|
|
|
|
|
|
|
extern FILE *ompi_show_help_yyin;
|
|
|
|
extern bool ompi_show_help_parse_done;
|
|
|
|
extern char *ompi_show_help_yytext;
|
|
|
|
extern int ompi_show_help_yynewlines;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Make lex-generated files not issue compiler warnings
|
|
|
|
*/
|
|
|
|
#define YY_STACK_USED 0
|
|
|
|
#define YY_ALWAYS_INTERACTIVE 0
|
|
|
|
#define YY_NEVER_INTERACTIVE 0
|
|
|
|
#define YY_MAIN 0
|
|
|
|
#define YY_NO_UNPUT 1
|
|
|
|
|
|
|
|
enum {
|
|
|
|
OMPI_SHOW_HELP_PARSE_DONE,
|
|
|
|
OMPI_SHOW_HELP_PARSE_ERROR,
|
|
|
|
|
|
|
|
OMPI_SHOW_HELP_PARSE_TOPIC,
|
|
|
|
OMPI_SHOW_HELP_PARSE_MESSAGE,
|
|
|
|
|
|
|
|
OMPI_SHOW_HELP_PARSE_MAX
|
|
|
|
};
|
2004-10-21 02:31:03 +04:00
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif
|
2004-09-05 20:05:37 +04:00
|
|
|
#endif
|