picasso_assembler: Correct ending square-bracket check in parseReg
Signed-off-by: Lioncash <mathew1800@gmail.com>
This commit is contained in:
parent
97814558db
commit
708ce762e0
@ -692,7 +692,7 @@ static int parseReg(char* pos, int& outReg, int& outSw, int* idxType = NULL)
|
|||||||
if (offPos)
|
if (offPos)
|
||||||
{
|
{
|
||||||
dotPos = strchr(offPos, ']');
|
dotPos = strchr(offPos, ']');
|
||||||
if (!pos)
|
if (!dotPos)
|
||||||
return throwError("missing closing bracket: %s\n", pos);
|
return throwError("missing closing bracket: %s\n", pos);
|
||||||
*dotPos++ = 0;
|
*dotPos++ = 0;
|
||||||
*offPos++ = 0;
|
*offPos++ = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user