summaryrefslogtreecommitdiffstats
path: root/hl/src/y.tab.h
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2005-11-03 14:11:09 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2005-11-03 14:11:09 (GMT)
commit47b0c3b356cca31ffae47c86dc4ebd649ce6bef6 (patch)
tree1306b6407ab049d50ffbcfbfc9b450924d7e5713 /hl/src/y.tab.h
parent7fd6ff2413d3ecf65e77c9474f410a7acb9f4e52 (diff)
downloadhdf5-47b0c3b356cca31ffae47c86dc4ebd649ce6bef6.zip
hdf5-47b0c3b356cca31ffae47c86dc4ebd649ce6bef6.tar.gz
hdf5-47b0c3b356cca31ffae47c86dc4ebd649ce6bef6.tar.bz2
[svn-r11676] Purpose: New feature
Description: Adding the new function H5LTtext_to_dtype() for converting text description to data type. The next step will be H5LTdtype_to_text(). Solution: Use Lex and Yacc to do parsing of the text. H5LTanalyze.l is the lexer for analyzing the input; H5LTparse.y is the parser. They are not part of HL library, but are used to generate lex.yy.c (from H5LTanalyze.l) as well as y.tab.c and y.tab.h (from H5LTparse.y). The tools used to create these source files are GNU FLEX and YACC on a Linux machine (fuss). The commands are "lex H5LTanalyze.l" and "yacc -d H5LTparse.y". Detailed document will be added later. Platforms tested: h5committest and fuss. Misc. update: MANIFEST
Diffstat (limited to 'hl/src/y.tab.h')
-rw-r--r--hl/src/y.tab.h64
1 files changed, 64 insertions, 0 deletions
diff --git a/hl/src/y.tab.h b/hl/src/y.tab.h
new file mode 100644
index 0000000..027828c
--- /dev/null
+++ b/hl/src/y.tab.h
@@ -0,0 +1,64 @@
+#ifndef YYERRCODE
+#define YYERRCODE 256
+#endif
+
+#define H5T_STD_I8BE_TOKEN 257
+#define H5T_STD_I8LE_TOKEN 258
+#define H5T_STD_I16BE_TOKEN 259
+#define H5T_STD_I16LE_TOKEN 260
+#define H5T_STD_I32BE_TOKEN 261
+#define H5T_STD_I32LE_TOKEN 262
+#define H5T_STD_I64BE_TOKEN 263
+#define H5T_STD_I64LE_TOKEN 264
+#define H5T_STD_U8BE_TOKEN 265
+#define H5T_STD_U8LE_TOKEN 266
+#define H5T_STD_U16BE_TOKEN 267
+#define H5T_STD_U16LE_TOKEN 268
+#define H5T_STD_U32BE_TOKEN 269
+#define H5T_STD_U32LE_TOKEN 270
+#define H5T_STD_U64BE_TOKEN 271
+#define H5T_STD_U64LE_TOKEN 272
+#define H5T_NATIVE_CHAR_TOKEN 273
+#define H5T_NATIVE_SCHAR_TOKEN 274
+#define H5T_NATIVE_UCHAR_TOKEN 275
+#define H5T_NATIVE_SHORT_TOKEN 276
+#define H5T_NATIVE_USHORT_TOKEN 277
+#define H5T_NATIVE_INT_TOKEN 278
+#define H5T_NATIVE_UINT_TOKEN 279
+#define H5T_NATIVE_LONG_TOKEN 280
+#define H5T_NATIVE_ULONG_TOKEN 281
+#define H5T_NATIVE_LLONG_TOKEN 282
+#define H5T_NATIVE_ULLONG_TOKEN 283
+#define H5T_IEEE_F32BE_TOKEN 284
+#define H5T_IEEE_F32LE_TOKEN 285
+#define H5T_IEEE_F64BE_TOKEN 286
+#define H5T_IEEE_F64LE_TOKEN 287
+#define H5T_NATIVE_FLOAT_TOKEN 288
+#define H5T_NATIVE_DOUBLE_TOKEN 289
+#define H5T_NATIVE_LDOUBLE_TOKEN 290
+#define H5T_STRING_TOKEN 291
+#define STRSIZE_TOKEN 292
+#define STRPAD_TOKEN 293
+#define CSET_TOKEN 294
+#define CTYPE_TOKEN 295
+#define H5T_VARIABLE_TOKEN 296
+#define H5T_STR_NULLTERM_TOKEN 297
+#define H5T_STR_NULLPAD_TOKEN 298
+#define H5T_STR_SPACEPAD_TOKEN 299
+#define H5T_CSET_ASCII_TOKEN 300
+#define H5T_C_S1_TOKEN 301
+#define H5T_FORTRAN_S1_TOKEN 302
+#define H5T_OPAQUE_TOKEN 303
+#define OPQ_SIZE_TOKEN 304
+#define OPQ_TAG_TOKEN 305
+#define H5T_COMPOUND_TOKEN 306
+#define H5T_ENUM_TOKEN 307
+#define H5T_ARRAY_TOKEN 308
+#define H5T_VLEN_TOKEN 309
+#define STRING 310
+#define NUMBER 311
+typedef union {
+ int ival; /*for integer token*/
+ char *sval; /*for compound member name*/
+} YYSTYPE;
+extern YYSTYPE yylval;