summaryrefslogtreecommitdiff
path: root/ace/Svc_Conf.l
diff options
context:
space:
mode:
authorspark <spark@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-03-08 23:15:25 +0000
committerspark <spark@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-03-08 23:15:25 +0000
commitd8b169877e2ea906b1349b65d7ca3e809290a4d2 (patch)
tree46c0bb1d8c0a26a39298fa6f3ab94f9f62049dc8 /ace/Svc_Conf.l
parentaffaeef791874c59738e601f357700393f1c755b (diff)
downloadATCD-d8b169877e2ea906b1349b65d7ca3e809290a4d2.tar.gz
Fixed a problem giving a parse error on reading carriage return token on Unicode formatted svc conf file.
Diffstat (limited to 'ace/Svc_Conf.l')
-rw-r--r--ace/Svc_Conf.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/ace/Svc_Conf.l b/ace/Svc_Conf.l
index bb1f3e2dc0c..3e18b9af1eb 100644
--- a/ace/Svc_Conf.l
+++ b/ace/Svc_Conf.l
@@ -30,6 +30,7 @@ symbol [ -~]
string (\"{symbol}*\"|\'{symbol}*\')
white_space [ \t]
newline \n
+carrage_retn \r
other .
%%
@@ -77,6 +78,7 @@ inactive { return token (ACE_INACTIVE); }
return token (ACE_PATHNAME);
}
{white_space}+ ; /* EMPTY */
+{carrage_retn} ; /* EMPTY */
{newline} { ACE_SVC_CONF_PARAM->yylineno++; ace_yylineno++; }
{other} {
ACE_ERROR ((LM_ERROR,