OpenMPI  0.1.1
carto_file_lex.h
1 /* -*- C -*-
2  *
3  * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
4  * University Research and Technology
5  * Corporation. All rights reserved.
6  * Copyright (c) 2004-2005 The University of Tennessee and The University
7  * of Tennessee Research Foundation. All rights
8  * reserved.
9  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
10  * University of Stuttgart. All rights reserved.
11  * Copyright (c) 2004-2005 The Regents of the University of California.
12  * All rights reserved.
13  * $COPYRIGHT$
14  *
15  * Additional copyrights may follow
16  *
17  * $HEADER$
18  */
19 
20 #ifndef CARTO_FILE_LEX_LEX_H_
21 #define CARTO_FILE_LEX_LEX_H_
22 
23 #include "opal_config.h"
24 
25 #ifdef malloc
26 #undef malloc
27 #endif
28 #ifdef realloc
29 #undef realloc
30 #endif
31 #ifdef free
32 #undef free
33 #endif
34 
35 #include <stdio.h>
36 
37 typedef union {
38  int ival;
39  char* sval;
41 
42 extern int carto_file_lex(void);
43 extern FILE *carto_file_in;
44 extern int carto_file_line;
45 extern bool carto_file_done;
46 extern orte_rds_value_t carto_file_value;
47 
48 /*
49  * Make lex-generated files not issue compiler warnings
50  */
51 #define YY_STACK_USED 0
52 #define YY_ALWAYS_INTERACTIVE 0
53 #define YY_NEVER_INTERACTIVE 0
54 #define YY_MAIN 0
55 #define YY_NO_UNPUT 1
56 #define YY_SKIP_YYWRAP 1
57 
58 #define OPAL_CARTO_FILE_NEWLINE 0
59 #define OPAL_CARTO_FILE_ERROR 1
60 #define OPAL_CARTO_FILE_NODE_DECELERATION 2
61 #define OPAL_CARTO_FILE_CONNECTION_DECELERATION 3
62 #define OPAL_CARTO_FILE_BIDIRECTION_CONNECTION 4
63 #define OPAL_CARTO_FILE_INT 5
64 #define OPAL_CARTO_FILE_NAME 6
65 #define OPAL_CARTO_FILE_NODE_CONNECTION 7
66 
67 #endif
68 
Definition: carto_file_lex.h:37