Mercurial > pub > ImplabNet
diff Implab.ServiceHost/Unity/TypeReferenceParser.cs @ 269:ff581cff7003 v3
Working on Unity container xml configuration
author | cin |
---|---|
date | Tue, 24 Apr 2018 01:46:02 +0300 |
parents | 0be8a6ae8307 |
children | 963b17c275be |
line wrap: on
line diff
--- a/Implab.ServiceHost/Unity/TypeReferenceParser.cs Sun Apr 22 15:29:10 2018 +0300 +++ b/Implab.ServiceHost/Unity/TypeReferenceParser.cs Tue Apr 24 01:46:02 2018 +0300 @@ -20,7 +20,7 @@ Eof } - readonly Regex _tokens = new Regex(@"(\w+)|\s*([\.{},\+])\s*"); + readonly Regex _tokens = new Regex(@"([\w\+]+)|\s*([\.{},])\s*"); TokenType m_token; @@ -68,7 +68,6 @@ m_token = TokenType.CloseList; break; case ".": - case "+": m_token = TokenType.Dot; break; case ",":