| | @@ -77,7 +77,8 @@ |
| 77 | 77 | |
| 78 | 78 | Error messages give the line and the column, counted in characters. |
| 79 | 79 | |
| 80 | | -**Comments** are `(*` ... `*)` and nest. |
| 80 | +**Comments** are `(*` ... `*)` and nest. By convention, the comment |
| 81 | +just before an exported declaration is its documentation. |
| 81 | 82 | |
| 82 | 83 | **Operators and delimiters:** |
| 83 | 84 | |
| | @@ -735,8 +736,9 @@ |
| 735 | 736 | An `extern` procedure's parameters and result are integers, `BOOL`, |
| 736 | 737 | `F32`, `F64`, pointers or procedures; a record goes to C by pointer, |
| 737 | 738 | never by value. `...` accepts any number of further arguments of those |
| 738 | | -types, and is allowed only in an `extern`. As C does, an `F32` given |
| 739 | | -to `...` is passed as an `F64`, and a real constant there is an `F64`. |
| 739 | +types, and is allowed only in an `extern`. C takes no `float` there, |
| 740 | +so an `F32` given to `...` is an error: the program writes `F64(x)`. |
| 741 | +A real constant there is an `F64`. |
| 740 | 742 | |
| 741 | 743 | An `extern` variable is C's variable itself: reading it reads C's, |
| 742 | 744 | assigning it writes C's. It can be of any type, declared as C declares |