Skip to content

Commit

Permalink
Convert operand names to lower case
Browse files Browse the repository at this point in the history
  • Loading branch information
akruppa committed Oct 18, 2016
1 parent fcdbd50 commit 23e32fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ajs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ class ajs {
// bracket style depends on syntax used
const char openBracket = intelSyntax ? '[' : '(';
op = trim(op);
std::transform(op.begin(), op.end(), op.begin(), ::tolower);

if (count(op.begin(), op.end(), openBracket) > 0)
return getPtrFromAddress(op, size, intelSyntax);
Expand Down

0 comments on commit 23e32fd

Please sign in to comment.