]> granicus.if.org Git - yasm/commitdiff
x86_parse_targetmod enum should start with value 1, not 0.
authorPeter Johnson <peter@tortall.net>
Mon, 12 Aug 2002 03:36:50 +0000 (03:36 -0000)
committerPeter Johnson <peter@tortall.net>
Mon, 12 Aug 2002 03:36:50 +0000 (03:36 -0000)
svn path=/trunk/yasm/; revision=687

modules/arch/x86/x86arch.h
src/arch/x86/x86arch.h

index 9490e55913155b93f300029ec79f9007e458627b..f59d413e47799d43b6ef6ca28e569603cf78c002 100644 (file)
@@ -48,7 +48,7 @@ typedef enum {
 } x86_parse_insn_prefix;
 
 typedef enum {
-    X86_NEAR,
+    X86_NEAR = 1,
     X86_SHORT,
     X86_FAR,
     X86_TO
index 9490e55913155b93f300029ec79f9007e458627b..f59d413e47799d43b6ef6ca28e569603cf78c002 100644 (file)
@@ -48,7 +48,7 @@ typedef enum {
 } x86_parse_insn_prefix;
 
 typedef enum {
-    X86_NEAR,
+    X86_NEAR = 1,
     X86_SHORT,
     X86_FAR,
     X86_TO