summaryrefslogtreecommitdiffstats
path: root/hl/src/H5LTanalyze.l
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2012-09-13 15:42:45 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2012-09-13 15:42:45 (GMT)
commitd36cd7cba56a3a70859ab7ca4f5120195b1a4d34 (patch)
tree02aa47950065996390d7e9cf708ec3aa49b5fbcc /hl/src/H5LTanalyze.l
parentcf485eb7cc21c460c87cbdcce3160a58d0d74a13 (diff)
downloadhdf5-d36cd7cba56a3a70859ab7ca4f5120195b1a4d34.zip
hdf5-d36cd7cba56a3a70859ab7ca4f5120195b1a4d34.tar.gz
hdf5-d36cd7cba56a3a70859ab7ca4f5120195b1a4d34.tar.bz2
[svn-r22757] Issue 8140 - return value is missing for H5LTyyerror in H5LTanalyze.l. I merged the fix from the trunk.
I put "return 0" in because the program should continue even though there is an error. Tested on jam - simple change.
Diffstat (limited to 'hl/src/H5LTanalyze.l')
-rw-r--r--hl/src/H5LTanalyze.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/hl/src/H5LTanalyze.l b/hl/src/H5LTanalyze.l
index dbba15a..3f63f50 100644
--- a/hl/src/H5LTanalyze.l
+++ b/hl/src/H5LTanalyze.l
@@ -184,6 +184,7 @@ int my_yyinput(char *buf, int max_size)
int H5LTyyerror(char *msg)
{
printf("ERROR: %s before \"%s\".\n", msg, yytext);
+ return 0;
}
int yywrap()