[PATCH 65/90] assembler: Fix ')' placement in condition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A small typo in the condition.

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
 assembler/gram.y |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/assembler/gram.y b/assembler/gram.y
index 4b5c6a3..c86e28f 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);
 		  }
-- 
1.7.7.5



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux