kaitai-struct-compiler 0.11.0-SNAPSHOT20241226.230133.d3b189e → 0.11.0-SNAPSHOT20250305.210536.3603e70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3027,8 +3027,8 @@ function $m_Lio_kaitai_struct_Utils$() {
3027
3027
  function $c_Lio_kaitai_struct_Version$() {
3028
3028
  this.Lio_kaitai_struct_Version$__f_version = null;
3029
3029
  this.Lio_kaitai_struct_Version$__f_gitTime = null;
3030
- this.Lio_kaitai_struct_Version$__f_version = "0.11-SNAPSHOT20241226.230133.d3b189e";
3031
- this.Lio_kaitai_struct_Version$__f_gitTime = "2024-12-26T23:01:33Z"
3030
+ this.Lio_kaitai_struct_Version$__f_version = "0.11-SNAPSHOT20250305.210536.3603e70";
3031
+ this.Lio_kaitai_struct_Version$__f_gitTime = "2025-03-05T21:05:36Z"
3032
3032
  }
3033
3033
  $c_Lio_kaitai_struct_Version$.prototype = new $h_O();
3034
3034
  $c_Lio_kaitai_struct_Version$.prototype.constructor = $c_Lio_kaitai_struct_Version$;
@@ -86811,6 +86811,9 @@ $c_Lio_kaitai_struct_translators_CSharpTranslator.prototype.strToInt__Lio_kaitai
86811
86811
  $m_Lio_kaitai_struct_Utils$().addUniqueAttr__scm_ListBuffer__O__V(this$1.Lio_kaitai_struct_ImportList__f_list, "System");
86812
86812
  return (((("Convert.ToInt64(" + this.translate__Lio_kaitai_struct_exprlang_Ast$expr__I__T(s, 0)) + ", ") + this.translate__Lio_kaitai_struct_exprlang_Ast$expr__I__T(base, 0)) + ")")
86813
86813
  });
86814
+ $c_Lio_kaitai_struct_translators_CSharpTranslator.prototype.enumToInt__Lio_kaitai_struct_exprlang_Ast$expr__Lio_kaitai_struct_datatype_DataType$EnumType__T = (function(v, et) {
86815
+ return (("((int) " + this.translate__Lio_kaitai_struct_exprlang_Ast$expr__I__T(v, this.Lio_kaitai_struct_translators_BaseTranslator__f_METHOD_PRECEDENCE)) + ")")
86816
+ });
86814
86817
  $c_Lio_kaitai_struct_translators_CSharpTranslator.prototype.floatToInt__Lio_kaitai_struct_exprlang_Ast$expr__T = (function(v) {
86815
86818
  return (("(long) (" + this.translate__Lio_kaitai_struct_exprlang_Ast$expr__I__T(v, 0)) + ")")
86816
86819
  });
@@ -86893,7 +86896,7 @@ $c_Lio_kaitai_struct_translators_CSharpTranslator.prototype.floatToInt__Lio_kait
86893
86896
  return this.floatToInt__Lio_kaitai_struct_exprlang_Ast$expr__T(value)
86894
86897
  });
86895
86898
  $c_Lio_kaitai_struct_translators_CSharpTranslator.prototype.enumToInt__Lio_kaitai_struct_exprlang_Ast$expr__Lio_kaitai_struct_datatype_DataType$EnumType__O = (function(value, et) {
86896
- return this.translate__Lio_kaitai_struct_exprlang_Ast$expr__I__T(value, 0)
86899
+ return this.enumToInt__Lio_kaitai_struct_exprlang_Ast$expr__Lio_kaitai_struct_datatype_DataType$EnumType__T(value, et)
86897
86900
  });
86898
86901
  $c_Lio_kaitai_struct_translators_CSharpTranslator.prototype.strToInt__Lio_kaitai_struct_exprlang_Ast$expr__Lio_kaitai_struct_exprlang_Ast$expr__O = (function(s, base) {
86899
86902
  return this.strToInt__Lio_kaitai_struct_exprlang_Ast$expr__Lio_kaitai_struct_exprlang_Ast$expr__T(s, base)
@@ -97279,6 +97282,7 @@ $c_Lio_kaitai_struct_languages_PerlCompiler.prototype.userTypeDebugRead__T__Lio_
97279
97282
  $n(this.Lio_kaitai_struct_languages_PerlCompiler__f_out).puts__T__V((id + "->_read();"))
97280
97283
  });
97281
97284
  $c_Lio_kaitai_struct_languages_PerlCompiler.prototype.tryFinally__F0__F0__V = (function(tryBlock, finallyBlock) {
97285
+ $n(this.Lio_kaitai_struct_languages_PerlCompiler__f_out).puts__T__V("my ($failed, $err);");
97282
97286
  $n(this.Lio_kaitai_struct_languages_PerlCompiler__f_out).puts__T__V("eval {");
97283
97287
  $n(this.Lio_kaitai_struct_languages_PerlCompiler__f_out).inc__V();
97284
97288
  var this$1 = $n(tryBlock);
package/package.json CHANGED
@@ -35,5 +35,5 @@
35
35
  "scripts": {
36
36
  "test": "echo \"Error: no test specified\" && exit 1"
37
37
  },
38
- "version": "0.11.0-SNAPSHOT20241226.230133.d3b189e"
38
+ "version": "0.11.0-SNAPSHOT20250305.210536.3603e70"
39
39
  }