Skip to content

Commit

Permalink
Fix misc. typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stratus3D authored and happi committed Oct 3, 2018
1 parent 8d5794d commit f0d7a81
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chapters/beam_loader.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion code/beam_chapter/src/token_threaded_vsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down
2 changes: 1 addition & 1 deletion code/beam_chapter/src/vsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit f0d7a81

Please sign in to comment.