File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -75,15 +75,15 @@ bool hook_BYTES_mutableBytesEnabled();
75
75
extern " C" {
76
76
77
77
/*
78
- * These symbols may not have been compiled into the library (if
79
- * `--embed-kprint` was not passed), and so we need to give them a weak default
78
+ * These symbols may not have been compiled into the library (if `--embed FILE`
79
+ * was not passed appropriately ), and so we need to give them a weak default
80
80
* definition. If the embed flag was passed, the value of these symbols will be
81
81
* given by the embedded data.
82
82
*/
83
83
int kore_definition_syntax_len __attribute__ ((weak)) = -1;
84
- char kore_definition_syntax __attribute__ ((weak)) = -1 ;
84
+ char kore_definition_syntax __attribute__ ((weak)) = 0 ;
85
85
int kore_definition_macros_len __attribute__ ((weak)) = -1;
86
- char kore_definition_macros __attribute__ ((weak)) = -1 ;
86
+ char kore_definition_macros __attribute__ ((weak)) = 0 ;
87
87
88
88
/* Completed types */
89
89
@@ -475,8 +475,8 @@ kore_pattern *kore_pattern_new_token_internal(
475
475
}
476
476
477
477
std::optional<pretty_print_definition> get_print_data () {
478
- if (kore_definition_macros_len == -1 || kore_definition_macros == - 1
479
- || kore_definition_syntax_len == -1 || kore_definition_syntax == - 1 ) {
478
+ if (kore_definition_macros_len == -1 || kore_definition_macros == 0
479
+ || kore_definition_syntax_len == -1 || kore_definition_syntax == 0 ) {
480
480
return std::nullopt;
481
481
}
482
482
You can’t perform that action at this time.
0 commit comments