summaryrefslogtreecommitdiffstats
path: root/hl/src/H5LTanalyze.l
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2012-09-12 16:29:14 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2012-09-12 16:29:14 (GMT)
commit6f1ae47a374eafcc0114634836562ad27daf4fcd (patch)
tree872aa5f5c16c97d98d9dc5d16585294fa164d967 /hl/src/H5LTanalyze.l
parentc16ae673e3324a3151435e3a33c5d96effb61c8c (diff)
downloadhdf5-6f1ae47a374eafcc0114634836562ad27daf4fcd.zip
hdf5-6f1ae47a374eafcc0114634836562ad27daf4fcd.tar.gz
hdf5-6f1ae47a374eafcc0114634836562ad27daf4fcd.tar.bz2
[svn-r22754] Issue 8140 - return value is missing for H5LTyyerror in H5LTanalyze.l. 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()