summaryrefslogtreecommitdiffstats
path: root/hl/src/H5LTparse.y
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2021-03-24 02:46:19 (GMT)
committerGitHub <noreply@github.com>2021-03-24 02:46:19 (GMT)
commit695a4e4f656c91e380eb34aaf8daabc897267a65 (patch)
tree26854d6794da529b97fd53d400a7ae61035dafe9 /hl/src/H5LTparse.y
parent1f3f7fe3aedf3d207d7bfa1b2870e87278378ad8 (diff)
downloadhdf5-695a4e4f656c91e380eb34aaf8daabc897267a65.zip
hdf5-695a4e4f656c91e380eb34aaf8daabc897267a65.tar.gz
hdf5-695a4e4f656c91e380eb34aaf8daabc897267a65.tar.bz2
Update h5LT files with latest flex and Bison available on jelly (#502)
* Modify temporary rpath for testing in java example scripts. * Update URL in source file Copyright headers for web copy of COPYING (license) file. * Add release_docs/code-conventions.md file. * Add script to test h5py. * Fix script error. * Add file h5pytest.yml. * Test declaration of counter variables in for loops. * Committing clang-format changes * Committing clang-format changes * Added [] to line 126 of H5LTanalyze.l. Ran bin/genparser with flex v2.6.4 and Bison v3.0.4 on jelly. * Revert "Added [] to line 126 of H5LTanalyze.l." This reverts commit e4a9cee441efa75b16a8ee030c86189e186dd266. * Revert extra commits to match canonical develop. * Added [] to H5LTanalyze.l line 126 to eliminate warning "rule could not be matched". Ran bin/genparser hl/src with flex v2.6.4 and Bison v3.0.4 on jelly. * Added HD to strdup in H5LTparse.y line 338. Ran bin/genparser hlsrc again. * Removed line 126 from H5LTanalyze.l - previous line matches. Added previously removed line 318 of H5LTparse.y to fix hl_test_lite failure. Ran bin/genparser. Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'hl/src/H5LTparse.y')
-rw-r--r--hl/src/H5LTparse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/src/H5LTparse.y b/hl/src/H5LTparse.y
index 7c32772..01f6ded 100644
--- a/hl/src/H5LTparse.y
+++ b/hl/src/H5LTparse.y
@@ -335,7 +335,7 @@ enum_list :
;
enum_def : enum_symbol {
is_enum_memb = 1; /*indicate member of enum*/
- enum_memb_symbol = strdup(yylval.sval);
+ enum_memb_symbol = HDstrdup(yylval.sval);
HDfree(yylval.sval);
yylval.sval = NULL;
}