A small typo in the condition.

Signed-off-by: Damien Lespiau <damien.lesp...@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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to