Update manuals and other additions
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
% ERROR EXAMPLE — incompatible pointer assignment (§11.3 rule 5)
|
||||
% Expected: protel: type error: cannot assign PTR TO ...
|
||||
% Expected: Pc: type error: cannot assign PTR TO ...
|
||||
|
||||
SECTION err_ptr_mismatch;
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
% ERROR EXAMPLE — integer assigned to BOOL (§11.3)
|
||||
% Expected: protel: type error: cannot assign ... to BOOL
|
||||
% Expected: Pc: type error: cannot assign ... to BOOL
|
||||
|
||||
SECTION err_int_to_bool;
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
% ERROR EXAMPLE — integer assigned to char (Reference Manual §11.3)
|
||||
% Expected: protel: type error: cannot assign integer to char
|
||||
% Expected: Pc: type error: cannot assign integer to char
|
||||
|
||||
SECTION err_int_to_char;
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
% ERROR EXAMPLE — integer assigned to PACK byte (§7.2.3 / §11.3)
|
||||
% Expected: protel: type error: cannot assign wide integer to packed byte-sized type
|
||||
% Expected: Pc: type error: cannot assign wide integer to packed byte-sized type
|
||||
|
||||
SECTION err_int_to_packed;
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
% ERROR EXAMPLE — numeric literal out of subrange (§11.3)
|
||||
% Expected: protel: type error: value ... out of range for {0 TO 255}
|
||||
% Expected: Pc: type error: value ... out of range for {0 TO 255}
|
||||
|
||||
SECTION err_out_of_range;
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
% ERROR EXAMPLE — RETURN type incompatible with RETURNS clause (§9.2 / §11.3)
|
||||
% Expected: protel: type error: RETURN type ... is not compatible with RETURNS BOOL
|
||||
% Expected: Pc: type error: RETURN type ... is not compatible with RETURNS BOOL
|
||||
|
||||
SECTION err_return_mismatch;
|
||||
|
||||
Reference in New Issue
Block a user