Skip to content

Commit 66bbd94

Browse files
committed
Update error messages changed in kaitai-io/kaitai_struct_compiler#309
1 parent 7bc75c9 commit 66bbd94

23 files changed

+27
-27
lines changed

formats_err/enum_unknown_inst_value.ksy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# enum_unknown_inst_value.ksy: /instances/should_fail/enum:
2-
# error: unable to find enum 'animal', searching from enum_unknown_inst_value
2+
# error: unable to find enum 'animal', searching from 'enum_unknown_inst_value'
33
#
44
meta:
55
id: enum_unknown_inst_value

formats_err/enum_unknown_seq.ksy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# enum_unknown_seq.ksy: /seq/0/enum:
2-
# error: unable to find enum 'animal', searching from enum_unknown_seq
2+
# error: unable to find enum 'animal', searching from 'enum_unknown_seq'
33
#
44
meta:
55
id: enum_unknown_seq

formats_err/expr_cast_type_unknown.ksy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# expr_cast_type_unknown.ksy: /instances/foo_bar/value:
2-
# error: unable to find type 'bar', searching from expr_cast_type_unknown
2+
# error: unable to find type 'bar', searching from 'expr_cast_type_unknown'
33
#
44
meta:
55
id: expr_cast_type_unknown

formats_err/expr_enum_unknown.ksy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# expr_enum_unknown.ksy: /seq/1/if:
2-
# error: unable to find enum 'unknown_enum', searching from expr_enum_unknown
2+
# error: unable to find enum 'unknown_enum', searching from 'expr_enum_unknown'
33
#
44
meta:
55
id: expr_enum_unknown

formats_err/expr_field_unknown_endian_switch_cases.ksy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# expr_field_unknown_endian_switch_cases.ksy: /meta/endian/cases/Name(identifier(qux)):
2-
# error: unable to access 'qux' in expr_field_unknown_endian_switch_cases context
2+
# error: unable to access 'qux' in 'expr_field_unknown_endian_switch_cases' context
33
#
44
meta:
55
id: expr_field_unknown_endian_switch_cases

formats_err/expr_field_unknown_endian_switch_on.ksy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# expr_field_unknown_endian_switch_on.ksy: /meta/endian/switch-on:
2-
# error: unable to access 'qux' in expr_field_unknown_endian_switch_on context
2+
# error: unable to access 'qux' in 'expr_field_unknown_endian_switch_on' context
33
#
44
meta:
55
id: expr_field_unknown_endian_switch_on

formats_err/expr_field_unknown_if_inst_pos.ksy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# expr_field_unknown_if_inst_pos.ksy: /instances/foo/if:
2-
# error: unable to access 'bar' in expr_field_unknown_if_inst_pos context
2+
# error: unable to access 'bar' in 'expr_field_unknown_if_inst_pos' context
33
#
44
meta:
55
id: expr_field_unknown_if_inst_pos

formats_err/expr_field_unknown_if_inst_value.ksy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# expr_field_unknown_if_inst_value.ksy: /instances/foo/if:
2-
# error: unable to access 'bar' in expr_field_unknown_if_inst_value context
2+
# error: unable to access 'bar' in 'expr_field_unknown_if_inst_value' context
33
#
44
meta:
55
id: expr_field_unknown_if_inst_value

formats_err/expr_field_unknown_if_seq.ksy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# expr_field_unknown_if_seq.ksy: /seq/0/if:
2-
# error: unable to access 'bar' in expr_field_unknown_if_seq context
2+
# error: unable to access 'bar' in 'expr_field_unknown_if_seq' context
33
#
44
meta:
55
id: expr_field_unknown_if_seq

formats_err/expr_field_unknown_inst_value_enum.ksy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# expr_field_unknown_inst_value_enum.ksy: /instances/foo/value:
2-
# error: unable to access 'bar' in expr_field_unknown_inst_value_enum context
2+
# error: unable to access 'bar' in 'expr_field_unknown_inst_value_enum' context
33
#
44
meta:
55
id: expr_field_unknown_inst_value_enum

formats_err/expr_field_unknown_params_call.ksy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# expr_field_unknown_params_call.ksy: /seq/0/type:
2-
# error: unable to access 'bar' in expr_field_unknown_params_call context
2+
# error: unable to access 'bar' in 'expr_field_unknown_params_call' context
33
#
44
meta:
55
id: expr_field_unknown_params_call

formats_err/expr_field_unknown_switch_cases.ksy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# expr_field_unknown_switch_cases.ksy: /seq/1/type/cases/Name(identifier(ahem)):
2-
# error: unable to access 'ahem' in expr_field_unknown_switch_cases context
2+
# error: unable to access 'ahem' in 'expr_field_unknown_switch_cases' context
33
#
44
meta:
55
id: expr_field_unknown_switch_cases

formats_err/expr_field_unknown_switch_on.ksy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# expr_field_unknown_switch_on.ksy: /seq/0/type/switch-on:
2-
# error: unable to access 'bar' in expr_field_unknown_switch_on context
2+
# error: unable to access 'bar' in 'expr_field_unknown_switch_on' context
33
#
44
meta:
55
id: expr_field_unknown_switch_on

formats_err/expr_field_unknown_switch_params_call.ksy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# expr_field_unknown_switch_params_call.ksy: /seq/0/type/cases/Bool(true):
2-
# error: unable to access 'bar' in expr_field_unknown_switch_params_call context
2+
# error: unable to access 'bar' in 'expr_field_unknown_switch_params_call' context
33
#
44
meta:
55
id: expr_field_unknown_switch_params_call

formats_err/expr_field_unknown_valid_any_of.ksy

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# expr_field_unknown_valid_any_of.ksy: /seq/0/valid/any-of/1:
2-
# error: unable to access 'bar' in expr_field_unknown_valid_any_of context
2+
# error: unable to access 'bar' in 'expr_field_unknown_valid_any_of' context
33
#
44
# expr_field_unknown_valid_any_of.ksy: /seq/0/valid/any-of/3:
5-
# error: unable to access 'qux' in expr_field_unknown_valid_any_of context
5+
# error: unable to access 'qux' in 'expr_field_unknown_valid_any_of' context
66
#
77
meta:
88
id: expr_field_unknown_valid_any_of

formats_err/expr_field_unknown_valid_eq_long.ksy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# expr_field_unknown_valid_eq_long.ksy: /seq/0/valid/eq:
2-
# error: unable to access 'bar' in expr_field_unknown_valid_eq_long context
2+
# error: unable to access 'bar' in 'expr_field_unknown_valid_eq_long' context
33
#
44
meta:
55
id: expr_field_unknown_valid_eq_long

formats_err/expr_field_unknown_valid_eq_short.ksy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# expr_field_unknown_valid_eq_short.ksy: /seq/0/valid:
2-
# error: unable to access 'bar' in expr_field_unknown_valid_eq_short context
2+
# error: unable to access 'bar' in 'expr_field_unknown_valid_eq_short' context
33
#
44
meta:
55
id: expr_field_unknown_valid_eq_short

formats_err/expr_field_unknown_valid_expr.ksy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# expr_field_unknown_valid_expr.ksy: /seq/0/valid/expr:
2-
# error: unable to access 'bar' in expr_field_unknown_valid_expr context
2+
# error: unable to access 'bar' in 'expr_field_unknown_valid_expr' context
33
#
44
meta:
55
id: expr_field_unknown_valid_expr

formats_err/expr_field_unknown_valid_range.ksy

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# expr_field_unknown_valid_range.ksy: /seq/0/valid/min:
2-
# error: unable to access 'bar' in expr_field_unknown_valid_range context
2+
# error: unable to access 'bar' in 'expr_field_unknown_valid_range' context
33
#
44
# expr_field_unknown_valid_range.ksy: /seq/0/valid/max:
5-
# error: unable to access 'qux' in expr_field_unknown_valid_range context
5+
# error: unable to access 'qux' in 'expr_field_unknown_valid_range' context
66
#
77
meta:
88
id: expr_field_unknown_valid_range

formats_err/params_def_type_unknown.ksy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# params_def_type_unknown.ksy: /params/0/type:
2-
# error: unable to find type 'bar', searching from params_def_type_unknown
2+
# error: unable to find type 'bar', searching from 'params_def_type_unknown'
33
#
44
meta:
55
id: params_def_type_unknown

formats_err/type_unknown.ksy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# type_unknown.ksy: /seq/0/type:
2-
# error: unable to find type 'some_unknown_name', searching from type_unknown
2+
# error: unable to find type 'some_unknown_name', searching from 'type_unknown'
33
#
44
meta:
55
id: type_unknown

formats_err/type_unknown_many.ksy

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# type_unknown_many.ksy: /seq/0/type:
2-
# error: unable to find type 'some_unknown_name', searching from type_unknown_many
2+
# error: unable to find type 'some_unknown_name', searching from 'type_unknown_many'
33
#
44
# type_unknown_many.ksy: /seq/1/type:
5-
# error: unable to find type 'also_unknown_name', searching from type_unknown_many
5+
# error: unable to find type 'also_unknown_name', searching from 'type_unknown_many'
66
#
77
# type_unknown_many.ksy: /seq/2/enum:
8-
# error: unable to find enum 'unknown_enum', searching from type_unknown_many
8+
# error: unable to find enum 'unknown_enum', searching from 'type_unknown_many'
99
#
1010
meta:
1111
id: type_unknown_many

formats_err/type_unknown_switch.ksy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# type_unknown_switch.ksy: /seq/0/type/cases/IntNum(42):
2-
# error: unable to find type 'some_unknown_name', searching from type_unknown_switch
2+
# error: unable to find type 'some_unknown_name', searching from 'type_unknown_switch'
33
#
44
meta:
55
id: type_unknown_switch

0 commit comments

Comments
 (0)