2004-09-05 20:05:37 +04:00
|
|
|
/*
|
2005-11-05 22:57:48 +03:00
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
|
|
* of Tennessee Research Foundation. 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.
|
2005-03-24 15:43:37 +03:00
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2006-08-28 17:44:37 +04:00
|
|
|
* Copyright (c) 2006 Cisco Systems, Inc. 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$
|
|
|
|
*/
|
|
|
|
|
2005-07-04 06:38:44 +04:00
|
|
|
#ifndef OPAL_SHOW_HELP_LEX_H
|
|
|
|
#define OPAL_SHOW_HELP_LEX_H
|
2004-09-05 20:05:37 +04:00
|
|
|
|
2006-02-12 04:33:29 +03:00
|
|
|
#include "opal_config.h"
|
2004-09-05 20:05:37 +04:00
|
|
|
|
|
|
|
#ifdef malloc
|
|
|
|
#undef malloc
|
|
|
|
#endif
|
|
|
|
#ifdef realloc
|
|
|
|
#undef realloc
|
|
|
|
#endif
|
|
|
|
#ifdef free
|
|
|
|
#undef free
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2009-08-20 15:42:18 +04:00
|
|
|
BEGIN_C_DECLS
|
2005-07-04 06:38:44 +04:00
|
|
|
int opal_show_help_yylex(void);
|
|
|
|
int opal_show_help_init_buffer(FILE *file);
|
2012-12-07 04:12:43 +04:00
|
|
|
int opal_show_help_yylex_destroy(void);
|
2004-09-05 20:05:37 +04:00
|
|
|
|
2005-07-04 06:38:44 +04:00
|
|
|
extern FILE *opal_show_help_yyin;
|
|
|
|
extern bool opal_show_help_parse_done;
|
|
|
|
extern char *opal_show_help_yytext;
|
|
|
|
extern int opal_show_help_yynewlines;
|
2004-09-05 20:05:37 +04:00
|
|
|
|
|
|
|
/*
|
|
|
|
* 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
|
2006-08-28 17:44:37 +04:00
|
|
|
#define YY_SKIP_YYWRAP 1
|
2004-09-05 20:05:37 +04:00
|
|
|
|
|
|
|
enum {
|
2005-07-04 06:38:44 +04:00
|
|
|
OPAL_SHOW_HELP_PARSE_DONE,
|
|
|
|
OPAL_SHOW_HELP_PARSE_ERROR,
|
2004-09-05 20:05:37 +04:00
|
|
|
|
2005-07-04 06:38:44 +04:00
|
|
|
OPAL_SHOW_HELP_PARSE_TOPIC,
|
|
|
|
OPAL_SHOW_HELP_PARSE_MESSAGE,
|
2004-09-05 20:05:37 +04:00
|
|
|
|
2005-07-04 06:38:44 +04:00
|
|
|
OPAL_SHOW_HELP_PARSE_MAX
|
2004-09-05 20:05:37 +04:00
|
|
|
};
|
2009-08-20 15:42:18 +04:00
|
|
|
END_C_DECLS
|
2004-09-05 20:05:37 +04:00
|
|
|
#endif
|