This commit is contained in:
parent
0e3a3c232e
commit
a25a8bfe0e
4
TestSuite/operators3.pas
Normal file
4
TestSuite/operators3.pas
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
begin
|
||||||
|
assert(1bi shl 2 = 4bi);
|
||||||
|
assert(10bi shr 2 = 2bi);
|
||||||
|
end.
|
||||||
|
|
@ -38,6 +38,8 @@ namespace PascalABCCompiler.TreeConverter
|
||||||
oper_names[mod_name] = "op_Modulus";
|
oper_names[mod_name] = "op_Modulus";
|
||||||
oper_names[not_name] = "op_LogicalNot";
|
oper_names[not_name] = "op_LogicalNot";
|
||||||
oper_names[noteq_name] = "op_Inequality";
|
oper_names[noteq_name] = "op_Inequality";
|
||||||
|
oper_names[shl_name] = "op_LeftShift";
|
||||||
|
oper_names[shr_name] = "op_RightShift";
|
||||||
}
|
}
|
||||||
|
|
||||||
public static string GetNETOperName(string name)
|
public static string GetNETOperName(string name)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue