| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
(v)snprintf statement. Also fix use other uses of macros for windows.
Tested
|
|
|
|
|
|
|
|
| |
H5LTanalyze.l. I put "return 0" in because the
program should continue even though there is an error.
Tested on jam - simple change.
|
|
|
|
|
|
|
| |
the library conflict with his application with Lex and Yacc. To solve the problem of multiple definitions of Lex or Yacc functions or variables, use the -P or -p command option to change the prefix of these functions and variables from yy to H5LTyy.
Tested on kagiso, linew, smirom.
|
|
|
|
|
|
|
|
|
| |
copyright notice.
Tested platform:
Kagiso only since it is only a comment block change. If it works in one
machine, it should work in all, I hope. Still need to check the parallel
build on copper.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Description: Yesterday, a definition of the macro YY_BUF_SIZE of 256KB
was committed in, but copper complained it can't be redefined.
Solution: Added #ifdef and #undef to make sure the macro is undefined
first. Also integrated a complicated compound type test. It reads
input from a text file. The datatype is unusually large, of 101 member
fields.
Platforms tested: h5committest and fuss.
|
|
|
|
|
|
|
|
|
|
| |
Description: The default size for input buffer of Lex is only 8K. Some
application has input string far bigger than it.
Solution: Increase the size by defining YY_BUFFER_SIZE to be 256K (262144)
in H5LTanalyze.l
Platforms tested: fuss - simple change.
|
|
|
|
| |
Description: Added copyright comment to the beginning of these two files.
|
|
|
|
|
|
|
|
|
| |
Description: Revise a few details of H5LTtext_to_dtype() and H5LTdtype_to_text(),
1. changed the DDL definition of string, opaque, and compound types.
2. added a new parameter of H5LT_lang_t type to these two functions.
Platforms tested: h5committest and fuss.
|
|
|
|
|
|
|
|
|
|
|
| |
Description: Renamed lex.yy.c to H5LTanalyze.c, y.tab.c to H5LTparse.c, and
y.tab.h to H5LTparse.h in hl/src. Changed definition of opaque type to ommit the tag.
Changed the test for opaque type in hl/test, too.
Platforms tested: h5committest, fuss, and sleipnir.
Misc. update: MANIFEST
|
|
|
|
|
|
|
|
|
| |
Description: lex.yy.c for H5LTtext_to_dtype() has been failing to compile
on 64-bit SunOS. It has malloc() call but doesn't include stdlib.h.
Solution: Include stdlib.h in H5LTanalyze.l.
Platforms tested: shanti - simple change.
|
|
|
|
|
|
|
| |
Description: Put copyright in the new files for H5LTtext_to_dtype().
Platforms tested: fuss - simple change.
|
|
|
|
|
|
|
|
|
| |
Description: The g++ on sleipnir had troubles to compile the H5LTtext_to_dtype()
code.
Solution: Fixed problems at different places.
Platforms tested: h5committest and g++ on sleipnir.
|
|
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
|