c3d / xl

A minimalist, general-purpose programming language based on meta-programming and parse tree rewrites
GNU General Public License v3.0
270 stars 15 forks source link

Typo in opcodes.h #54

Open gulamf opened 2 years ago

gulamf commented 2 years ago

Hi I believe there are a few typo errors in include/opcodes.h

Line 466 reads

define POSTFIX(Name, ResTy, RightTy, Symbol, Code)

but should read

define POSTFIX(Name, ResTy, LeftTy, Symbol, Code)

line 723 reads

struct Opcodep##PName : PrefixOpcode

but should read

struct Opcodep##PName : PostfixOpcode

Thanks

c3d commented 2 years ago

Hi @gulamf. I think that you are right. Good catch. I will fix that when I return from KVM Forum.