diff --git a/chapters/beam_loader.asciidoc b/chapters/beam_loader.asciidoc index 590ac40..8f9087f 100644 --- a/chapters/beam_loader.asciidoc +++ b/chapters/beam_loader.asciidoc @@ -114,7 +114,7 @@ values have to be of the same type and have the same value. Furthermore the `S=s limits the type to a be a source register. Rest=*:: allows a variable number of arguments in the instruction and binds them to variable `Rest`. -use_jump_tab(Size, Rest):: calls a the +use_jump_tab(Size, Rest):: calls the https://github.com/erlang/otp/blob/OTP-19.3/erts/emulator/beam/beam_load.c#L2707[use_jump_tab] C function in `beam_load.c` that decides whether the arguments in the `select_val` can be transformed into a jump table. diff --git a/code/beam_chapter/src/token_threaded_vsm.c b/code/beam_chapter/src/token_threaded_vsm.c index df73850..57dfbe3 100755 --- a/code/beam_chapter/src/token_threaded_vsm.c +++ b/code/beam_chapter/src/token_threaded_vsm.c @@ -78,7 +78,7 @@ int main(int argc, char *argv[]) printf("The value is: %i\n", run()); return 0; } else { - printf("Give a the file name of a byte code program as argument\n"); + printf("Give the file name of a byte code program as argument\n"); return -1; } } diff --git a/code/beam_chapter/src/vsm.c b/code/beam_chapter/src/vsm.c index 1813a6f..37f298c 100755 --- a/code/beam_chapter/src/vsm.c +++ b/code/beam_chapter/src/vsm.c @@ -62,7 +62,7 @@ int main(int argc, char *argv[]) printf("The value is: %i\n", res); return 0; } else { - printf("Give a the file name of a byte code program as argument\n"); + printf("Give the file name of a byte code program as argument\n"); return -1; } }