From 9fbb276e37125d1e14abbc854b9ad1d7c29f90e0 Mon Sep 17 00:00:00 2001 From: Quentin Rameau Date: Fri, 20 Jan 2017 17:21:53 +0100 Subject: change 'b' and 'h' ordering in IL doc --- doc/il.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/il.txt b/doc/il.txt index 865b81f..4fe55a5 100644 --- a/doc/il.txt +++ b/doc/il.txt @@ -109,7 +109,7 @@ starting with the sigil `?`. `bnf BASETY := 'w' | 'l' | 's' | 'd' # Base types - EXTTY := BASETY | 'h' | 'b' # Extended types + EXTTY := BASETY | 'b' | 'h' # Extended types The IL makes very minimal use of types. By design, the types used are restricted to what is necessary for unambiguous @@ -125,8 +125,8 @@ by an integer type sufficiently wide to represent all memory addresses (e.g. `l` on x64). Temporaries in the IL can only have a basic type. -Extended types contain base types and add `h` (half word) -and `b` (byte), respectively for 16 bits and 8 bits integers. +Extended types contain base types plus `b` (byte) and `h` +(half word), respectively for 8 bits and 16 bits integers. They are used in <@ Aggregate Types> and <@ Data> definitions. For C interfacing, the IL also provides user-defined aggregate -- cgit 1.4.1