2004-09-05 16:05:37 +00:00
|
|
|
/*
|
2005-11-05 19:57:48 +00: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.
|
2015-06-23 20:59:57 -07:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
2004-11-28 20:09:25 +00:00
|
|
|
* University of Stuttgart. All rights reserved.
|
2005-03-24 12:43:37 +00:00
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2006-08-28 13:44:37 +00:00
|
|
|
* Copyright (c) 2006 Cisco Systems, Inc. All rights reserved.
|
2004-11-22 01:38:40 +00:00
|
|
|
* $COPYRIGHT$
|
2015-06-23 20:59:57 -07:00
|
|
|
*
|
2004-11-22 01:38:40 +00:00
|
|
|
* Additional copyrights may follow
|
2015-06-23 20:59:57 -07:00
|
|
|
*
|
2004-09-05 16:05:37 +00:00
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
2005-07-04 02:38:44 +00:00
|
|
|
#ifndef OPAL_SHOW_HELP_LEX_H
|
|
|
|
#define OPAL_SHOW_HELP_LEX_H
|
2004-09-05 16:05:37 +00:00
|
|
|
|
2006-02-12 01:33:29 +00:00
|
|
|
#include "opal_config.h"
|
2004-09-05 16:05:37 +00:00
|
|
|
|
|
|
|
#ifdef malloc
|
|
|
|
#undef malloc
|
|
|
|
#endif
|
|
|
|
#ifdef realloc
|
|
|
|
#undef realloc
|
|
|
|
#endif
|
|
|
|
#ifdef free
|
|
|
|
#undef free
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2009-08-20 11:42:18 +00:00
|
|
|
BEGIN_C_DECLS
|
2005-07-04 02:38:44 +00:00
|
|
|
int opal_show_help_yylex(void);
|
|
|
|
int opal_show_help_init_buffer(FILE *file);
|
2012-12-07 00:12:43 +00:00
|
|
|
int opal_show_help_yylex_destroy(void);
|
2004-09-05 16:05:37 +00:00
|
|
|
|
2005-07-04 02:38:44 +00: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 16:05:37 +00: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 13:44:37 +00:00
|
|
|
#define YY_SKIP_YYWRAP 1
|
2004-09-05 16:05:37 +00:00
|
|
|
|
|
|
|
enum {
|
2005-07-04 02:38:44 +00:00
|
|
|
OPAL_SHOW_HELP_PARSE_DONE,
|
|
|
|
OPAL_SHOW_HELP_PARSE_ERROR,
|
2004-09-05 16:05:37 +00:00
|
|
|
|
2005-07-04 02:38:44 +00:00
|
|
|
OPAL_SHOW_HELP_PARSE_TOPIC,
|
|
|
|
OPAL_SHOW_HELP_PARSE_MESSAGE,
|
2004-09-05 16:05:37 +00:00
|
|
|
|
2005-07-04 02:38:44 +00:00
|
|
|
OPAL_SHOW_HELP_PARSE_MAX
|
2004-09-05 16:05:37 +00:00
|
|
|
};
|
2009-08-20 11:42:18 +00:00
|
|
|
END_C_DECLS
|
2004-09-05 16:05:37 +00:00
|
|
|
#endif
|