Skip to content

Commit

Permalink
Update error messages changed in kaitai-io/kaitai_struct_compiler#309
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingun committed Oct 5, 2024
1 parent 4fa7456 commit e4cf10e
Show file tree
Hide file tree
Showing 23 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion formats_err/enum_unknown_inst_value.ksy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# enum_unknown_inst_value.ksy: /instances/should_fail/enum:
# error: unable to find enum 'animal', searching from enum_unknown_inst_value
# error: unable to find enum 'animal', searching from 'enum_unknown_inst_value'
#
meta:
id: enum_unknown_inst_value
Expand Down
2 changes: 1 addition & 1 deletion formats_err/enum_unknown_seq.ksy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# enum_unknown_seq.ksy: /seq/0/enum:
# error: unable to find enum 'animal', searching from enum_unknown_seq
# error: unable to find enum 'animal', searching from 'enum_unknown_seq'
#
meta:
id: enum_unknown_seq
Expand Down
2 changes: 1 addition & 1 deletion formats_err/expr_cast_type_unknown.ksy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# expr_cast_type_unknown.ksy: /instances/foo_bar/value:
# error: unable to find type 'bar', searching from expr_cast_type_unknown
# error: unable to find type 'bar', searching from 'expr_cast_type_unknown'
#
meta:
id: expr_cast_type_unknown
Expand Down
2 changes: 1 addition & 1 deletion formats_err/expr_enum_unknown.ksy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# expr_enum_unknown.ksy: /seq/1/if:
# error: unable to find enum 'unknown_enum', searching from expr_enum_unknown
# error: unable to find enum 'unknown_enum', searching from 'expr_enum_unknown'
#
meta:
id: expr_enum_unknown
Expand Down
2 changes: 1 addition & 1 deletion formats_err/expr_field_unknown_endian_switch_cases.ksy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# expr_field_unknown_endian_switch_cases.ksy: /meta/endian/cases/Name(identifier(qux)):
# error: unable to access 'qux' in expr_field_unknown_endian_switch_cases context
# error: unable to access 'qux' in 'expr_field_unknown_endian_switch_cases' context
#
meta:
id: expr_field_unknown_endian_switch_cases
Expand Down
2 changes: 1 addition & 1 deletion formats_err/expr_field_unknown_endian_switch_on.ksy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# expr_field_unknown_endian_switch_on.ksy: /meta/endian/switch-on:
# error: unable to access 'qux' in expr_field_unknown_endian_switch_on context
# error: unable to access 'qux' in 'expr_field_unknown_endian_switch_on' context
#
meta:
id: expr_field_unknown_endian_switch_on
Expand Down
2 changes: 1 addition & 1 deletion formats_err/expr_field_unknown_if_inst_pos.ksy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# expr_field_unknown_if_inst_pos.ksy: /instances/foo/if:
# error: unable to access 'bar' in expr_field_unknown_if_inst_pos context
# error: unable to access 'bar' in 'expr_field_unknown_if_inst_pos' context
#
meta:
id: expr_field_unknown_if_inst_pos
Expand Down
2 changes: 1 addition & 1 deletion formats_err/expr_field_unknown_if_inst_value.ksy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# expr_field_unknown_if_inst_value.ksy: /instances/foo/if:
# error: unable to access 'bar' in expr_field_unknown_if_inst_value context
# error: unable to access 'bar' in 'expr_field_unknown_if_inst_value' context
#
meta:
id: expr_field_unknown_if_inst_value
Expand Down
2 changes: 1 addition & 1 deletion formats_err/expr_field_unknown_if_seq.ksy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# expr_field_unknown_if_seq.ksy: /seq/0/if:
# error: unable to access 'bar' in expr_field_unknown_if_seq context
# error: unable to access 'bar' in 'expr_field_unknown_if_seq' context
#
meta:
id: expr_field_unknown_if_seq
Expand Down
2 changes: 1 addition & 1 deletion formats_err/expr_field_unknown_inst_value_enum.ksy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# expr_field_unknown_inst_value_enum.ksy: /instances/foo/value:
# error: unable to access 'bar' in expr_field_unknown_inst_value_enum context
# error: unable to access 'bar' in 'expr_field_unknown_inst_value_enum' context
#
meta:
id: expr_field_unknown_inst_value_enum
Expand Down
2 changes: 1 addition & 1 deletion formats_err/expr_field_unknown_params_call.ksy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# expr_field_unknown_params_call.ksy: /seq/0/type:
# error: unable to access 'bar' in expr_field_unknown_params_call context
# error: unable to access 'bar' in 'expr_field_unknown_params_call' context
#
meta:
id: expr_field_unknown_params_call
Expand Down
2 changes: 1 addition & 1 deletion formats_err/expr_field_unknown_switch_cases.ksy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# expr_field_unknown_switch_cases.ksy: /seq/1/type/cases/Name(identifier(ahem)):
# error: unable to access 'ahem' in expr_field_unknown_switch_cases context
# error: unable to access 'ahem' in 'expr_field_unknown_switch_cases' context
#
meta:
id: expr_field_unknown_switch_cases
Expand Down
2 changes: 1 addition & 1 deletion formats_err/expr_field_unknown_switch_on.ksy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# expr_field_unknown_switch_on.ksy: /seq/0/type/switch-on:
# error: unable to access 'bar' in expr_field_unknown_switch_on context
# error: unable to access 'bar' in 'expr_field_unknown_switch_on' context
#
meta:
id: expr_field_unknown_switch_on
Expand Down
2 changes: 1 addition & 1 deletion formats_err/expr_field_unknown_switch_params_call.ksy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# expr_field_unknown_switch_params_call.ksy: /seq/0/type/cases/Bool(true):
# error: unable to access 'bar' in expr_field_unknown_switch_params_call context
# error: unable to access 'bar' in 'expr_field_unknown_switch_params_call' context
#
meta:
id: expr_field_unknown_switch_params_call
Expand Down
4 changes: 2 additions & 2 deletions formats_err/expr_field_unknown_valid_any_of.ksy
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# expr_field_unknown_valid_any_of.ksy: /seq/0/valid/any-of/1:
# error: unable to access 'bar' in expr_field_unknown_valid_any_of context
# error: unable to access 'bar' in 'expr_field_unknown_valid_any_of' context
#
# expr_field_unknown_valid_any_of.ksy: /seq/0/valid/any-of/3:
# error: unable to access 'qux' in expr_field_unknown_valid_any_of context
# error: unable to access 'qux' in 'expr_field_unknown_valid_any_of' context
#
meta:
id: expr_field_unknown_valid_any_of
Expand Down
2 changes: 1 addition & 1 deletion formats_err/expr_field_unknown_valid_eq_long.ksy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# expr_field_unknown_valid_eq_long.ksy: /seq/0/valid/eq:
# error: unable to access 'bar' in expr_field_unknown_valid_eq_long context
# error: unable to access 'bar' in 'expr_field_unknown_valid_eq_long' context
#
meta:
id: expr_field_unknown_valid_eq_long
Expand Down
2 changes: 1 addition & 1 deletion formats_err/expr_field_unknown_valid_eq_short.ksy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# expr_field_unknown_valid_eq_short.ksy: /seq/0/valid:
# error: unable to access 'bar' in expr_field_unknown_valid_eq_short context
# error: unable to access 'bar' in 'expr_field_unknown_valid_eq_short' context
#
meta:
id: expr_field_unknown_valid_eq_short
Expand Down
2 changes: 1 addition & 1 deletion formats_err/expr_field_unknown_valid_expr.ksy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# expr_field_unknown_valid_expr.ksy: /seq/0/valid/expr:
# error: unable to access 'bar' in expr_field_unknown_valid_expr context
# error: unable to access 'bar' in 'expr_field_unknown_valid_expr' context
#
meta:
id: expr_field_unknown_valid_expr
Expand Down
4 changes: 2 additions & 2 deletions formats_err/expr_field_unknown_valid_range.ksy
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# expr_field_unknown_valid_range.ksy: /seq/0/valid/min:
# error: unable to access 'bar' in expr_field_unknown_valid_range context
# error: unable to access 'bar' in 'expr_field_unknown_valid_range' context
#
# expr_field_unknown_valid_range.ksy: /seq/0/valid/max:
# error: unable to access 'qux' in expr_field_unknown_valid_range context
# error: unable to access 'qux' in 'expr_field_unknown_valid_range' context
#
meta:
id: expr_field_unknown_valid_range
Expand Down
2 changes: 1 addition & 1 deletion formats_err/params_def_type_unknown.ksy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# params_def_type_unknown.ksy: /params/0/type:
# error: unable to find type 'bar', searching from params_def_type_unknown
# error: unable to find type 'bar', searching from 'params_def_type_unknown'
#
meta:
id: params_def_type_unknown
Expand Down
2 changes: 1 addition & 1 deletion formats_err/type_unknown.ksy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# type_unknown.ksy: /seq/0/type:
# error: unable to find type 'some_unknown_name', searching from type_unknown
# error: unable to find type 'some_unknown_name', searching from 'type_unknown'
#
meta:
id: type_unknown
Expand Down
6 changes: 3 additions & 3 deletions formats_err/type_unknown_many.ksy
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# type_unknown_many.ksy: /seq/0/type:
# error: unable to find type 'some_unknown_name', searching from type_unknown_many
# error: unable to find type 'some_unknown_name', searching from 'type_unknown_many'
#
# type_unknown_many.ksy: /seq/1/type:
# error: unable to find type 'also_unknown_name', searching from type_unknown_many
# error: unable to find type 'also_unknown_name', searching from 'type_unknown_many'
#
# type_unknown_many.ksy: /seq/2/enum:
# error: unable to find enum 'unknown_enum', searching from type_unknown_many
# error: unable to find enum 'unknown_enum', searching from 'type_unknown_many'
#
meta:
id: type_unknown_many
Expand Down
2 changes: 1 addition & 1 deletion formats_err/type_unknown_switch.ksy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# type_unknown_switch.ksy: /seq/0/type/cases/IntNum(42):
# error: unable to find type 'some_unknown_name', searching from type_unknown_switch
# error: unable to find type 'some_unknown_name', searching from 'type_unknown_switch'
#
meta:
id: type_unknown_switch
Expand Down

0 comments on commit e4cf10e

Please sign in to comment.