Przeglądaj źródła

Merge pull request #7180 from rpastrana/HPCC-13065-FixEmptyESDLStatemntCor

HPCC 13065 fix empty esdl statemnt core

Reviewed-By: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 10 lat temu
rodzic
commit
339d543020
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      tools/esdlcomp/esdlgram.y

+ 4 - 0
tools/esdlcomp/esdlgram.y

@@ -995,6 +995,10 @@ Param
      CurParam->flags |= PF_IN;
  }
  |
+ {
+   //There was no Param, make sure CurParam is nulled out
+   CurParam = NULL;
+ }
  ;
 
 TypeModifiers