Skip to content

Commit

Permalink
Updated ExpressionEvaluator.cs [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
informedcitizenry authored Jun 22, 2017
1 parent 9259911 commit 2753d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 6502.Net/ExpressionEvaluator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ private string ReplaceSymbols(string expression)
string sym_pattern = l.Key;

// strip white-spaces between operators and symbols first
expression = Regex.Replace(expression, @"\s*(" + l.Key + @")\s*", m =>
expression = Regex.Replace(expression, @"\s*(" + sym_pattern + @")\s*", m =>
{
return m.Groups[1].Value;
});
Expand Down

0 comments on commit 2753d85

Please sign in to comment.