diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-05-15 03:31:06 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-05-15 03:31:06 +0000 |
commit | 8b852ffc1bdca3ad129ad0beeb93028fa695e590 (patch) | |
tree | f4eae324dc4b6fea3a503bf1680f88edae96cf3d /ace/Svc_Conf.l | |
parent | 2fdbd9e922334cd2b39f677daabd23812a443e6c (diff) | |
download | ATCD-8b852ffc1bdca3ad129ad0beeb93028fa695e590.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Svc_Conf.l')
-rw-r--r-- | ace/Svc_Conf.l | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ace/Svc_Conf.l b/ace/Svc_Conf.l index a4e6f5b4735..f128cec1974 100644 --- a/ace/Svc_Conf.l +++ b/ace/Svc_Conf.l @@ -12,6 +12,10 @@ int yylineno = 1; // Keeps track of the number of errors encountered so far. int yyerrno = 0; +// Used to parse service configurator directives from a string rather +// than from a svc.conf file. +char *yydirective = 0; + #define token(x) x %} @@ -73,5 +77,8 @@ yywrap (void) ::fflush (yyin); yytext[0] = '#'; yyleng = 0; + + // This needs to be freed to prevent a memory leak. + yy_delete_buffer (yy_current_buffer); return 1; } |