diff options
author | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-21 19:42:13 +0000 |
---|---|---|
committer | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-21 19:42:13 +0000 |
commit | abea61df43430dff73e208f49224461b456278d2 (patch) | |
tree | 7134cceb2043128050c43d86a938f6e723f05cb8 /ace/Service_Config.cpp | |
parent | d8b0bb36c78a4d58b120c6cca9098628fde05e52 (diff) | |
download | ATCD-abea61df43430dff73e208f49224461b456278d2.tar.gz |
process_directives now returns ace_yyerrno when ace_yyparse terminate abnormally.
Diffstat (limited to 'ace/Service_Config.cpp')
-rw-r--r-- | ace/Service_Config.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Service_Config.cpp b/ace/Service_Config.cpp index 3d1bb61e1d7..0a6726eb876 100644 --- a/ace/Service_Config.cpp +++ b/ace/Service_Config.cpp @@ -537,7 +537,7 @@ ACE_Service_Config::process_directives (void) if (ace_yyerrno > 0) { errno = EINVAL; // This is a hack, better errors should be provided... - return -1; + return ace_yyerrno; } else return 0; |