Skip to content

Commit 79867e0

Browse files
authored
Updated the note about about error signaling
1 parent 0ef645f commit 79867e0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

www/assignments/5.scrbl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ register to the number of arguments before jumping to the function.
8282
The function should check this number against the expected number and
8383
signal an error when they don't match.
8484

85-
Note that there's now an easier way to signal an error in the
86-
compiler; simply jump to @racket['raise_error_align]. There's no need
87-
to do the @racket[(error-label c)] thing anymore. Jumping to
88-
@racket['raise_error_align] will dynamically align the stack before
85+
Note A4 previously had an outdated way to signal an error in the
86+
compiler that was not consistent with the lecture notes. A5 now matches
87+
the lecture notes way to signal an error of simply jumping to @racket['raise_error_align].
88+
Jumping to @racket['raise_error_align] will dynamically align the stack before
8989
calling the C code in the runtime system that prints an error and
9090
exits.
9191

0 commit comments

Comments
 (0)