diff options
Diffstat (limited to '05/tokenize.b')
-rw-r--r-- | 05/tokenize.b | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/05/tokenize.b b/05/tokenize.b index 841f7df..809c9ff 100644 --- a/05/tokenize.b +++ b/05/tokenize.b @@ -15,7 +15,7 @@ function file_get :file_got return p :file_uhoh - fputs(2, .str_bad_file_index) + puts(.str_bad_file_index) exit(1) :str_bad_file_index string Bad file index. This shouldn't happen. @@ -609,7 +609,7 @@ function print_tokens if *1p == TOKEN_STRING_LITERAL goto print_token_string_literal if *1p == TOKEN_IDENTIFIER goto print_token_identifier if *1p == TOKEN_EOF goto print_token_eof - fputs(2, .str_print_bad_token) + puts(.str_print_bad_token) exit(1) :print_token_keyword s = get_keyword_str(*1p) |