diff options
-rw-r--r-- | parse.y | 4 | ||||
-rw-r--r-- | rubyparser.h | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -441,8 +441,8 @@ struct parser_params { rb_parser_config_t *config; #endif /* compile_option */ - int frozen_string_literal:2; /* -1: not specified, 0: false, 1: true */ - int coverage_enabled:2; /* -1: not specified, 0: false, 1: true */ + signed int frozen_string_literal:2; /* -1: not specified, 0: false, 1: true */ + signed int coverage_enabled:2; /* -1: not specified, 0: false, 1: true */ unsigned int command_start:1; unsigned int eofp: 1; diff --git a/rubyparser.h b/rubyparser.h index ab70176fc4..5fbc1de340 100644 --- a/rubyparser.h +++ b/rubyparser.h @@ -313,8 +313,8 @@ typedef struct rb_ast_body_struct { // script_lines is either: // - a Fixnum that represents the line count of the original source, or // - an Array that contains the lines of the original source - int frozen_string_literal:2; /* -1: not specified, 0: false, 1: true */ - int coverage_enabled:2; /* -1: not specified, 0: false, 1: true */ + signed int frozen_string_literal:2; /* -1: not specified, 0: false, 1: true */ + signed int coverage_enabled:2; /* -1: not specified, 0: false, 1: true */ } rb_ast_body_t; typedef struct rb_ast_struct { VALUE flags; |