From 8eb30d9493690471ad04953b609dfe7da35352d7 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Sun, 27 Jan 2013 11:23:38 +0000 Subject: assembler: Fix ')' placement in condition A small typo in the condition. Signed-off-by: Damien Lespiau --- assembler/gram.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assembler') diff --git a/assembler/gram.y b/assembler/gram.y index 4b5c6a3a..c86e28fa 100644 --- a/assembler/gram.y +++ b/assembler/gram.y @@ -2226,7 +2226,7 @@ accreg: ACCREG subregnum flagreg: FLAGREG subregnum { - if ((!IS_GENp(7) && $1) > 0 || + if ((!IS_GENp(7) && $1 > 0) || (IS_GENp(7) && $1 > 1)) { error(&@2, "flag register number %d out of range\n", $1); } -- cgit v1.2.3