[ 
https://issues.apache.org/jira/browse/GSHELL-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601833#action_12601833
 ] 

Jason Dillon commented on GSHELL-112:
-------------------------------------

I'm not sure this is the best fix, not sure why there is a quote in there 
actually, the parser should handle quote muck and then pass the text (w/o 
quotes) to the evaluator for interpolation.

BTW, this change will still cause this to break:

{noformat}
set login='deploy/connect -u $username -w $password'
{noformat}



> Can not evaluate a variable followed by a quotation mark
> --------------------------------------------------------
>
>                 Key: GSHELL-112
>                 URL: https://issues.apache.org/jira/browse/GSHELL-112
>             Project: GShell
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Parser
>    Affects Versions: 1.0-alpha-2
>         Environment: Windows
>            Reporter: YunFeng Ma
>            Assignee: Jason Warner
>            Priority: Minor
>             Fix For: 1.0-alpha-2
>
>
> Run the following steps in gshell:
> {noformat}
> set username=system
> set password=manager
> set login="deploy/connect -u $username -w $password"
> {noformat}
> get the following Error message:
> {noformat}
> [EMAIL PROTECTED]:/> set login="deploy/connect -u $username -w $password"
> ERROR SyntaxException: Failed to evaluate: password"
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to