added ability for substitute aliases when mapping is on single line

At present parser only substitutes aliases when mapping is in a multiline.
When the alias is used in the mapping stored in a single line, alias substitution doesn't work.

So I modified Parser to fix it.