|
@@ -37,6 +37,8 @@ const
|
|
function ParseModule(sc: TWatScanner; dst: TWasmModule; var errMsg: string): Boolean; overload;
|
|
function ParseModule(sc: TWatScanner; dst: TWasmModule; var errMsg: string): Boolean; overload;
|
|
function ParseModule(sc: TWatScanner; dst: TWasmModule; out err: TParseResult): Boolean; overload;
|
|
function ParseModule(sc: TWatScanner; dst: TWasmModule; out err: TParseResult): Boolean; overload;
|
|
|
|
|
|
|
|
+implementation
|
|
|
|
+
|
|
type
|
|
type
|
|
// used to stop the recursive parsing
|
|
// used to stop the recursive parsing
|
|
|
|
|
|
@@ -47,8 +49,6 @@ type
|
|
constructor Create(const amsg: string; aofs: integer);
|
|
constructor Create(const amsg: string; aofs: integer);
|
|
end;
|
|
end;
|
|
|
|
|
|
-implementation
|
|
|
|
-
|
|
|
|
const
|
|
const
|
|
WAT_DEFTYPES='iN or fN';
|
|
WAT_DEFTYPES='iN or fN';
|
|
|
|
|