Skip to content

Commit

Permalink
Fixed bug when assigning a variable to a ternary operation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pulover committed Aug 7, 2016
1 parent 99cdcc8 commit dbde072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Eval.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Eval($x, _CustomVars := "", _Init := true)
For $i, $v in $z
{
; Check for Ternary expression and evaluate
If (RegExMatch($z[$i], "([^\?:]+?)\?([^\?:]+?):(.*)", _Match))
If (RegExMatch($z[$i], "([^\?:=]+?)\?([^\?:]+?):(.*)", _Match))
{
Loop, 3
{
Expand Down

0 comments on commit dbde072

Please sign in to comment.