Browse Source

+ set node location to LOC_VOID in the WebAssembly if node pass_generate_code

git-svn-id: branches/wasm@48182 -
nickysn 4 years ago
parent
commit
c0e7035e50
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/wasm32/nwasmflw.pas

+ 2 - 0
compiler/wasm32/nwasmflw.pas

@@ -158,6 +158,8 @@ begin
   // right - then
   // t1    - else (optional)
 
+  location_reset(location,LOC_VOID,OS_NO);
+
   //todo: MOVE all current_asm_data actions to Wasm HL CodeGen
 
   secondpass(left); // condition exprssions