Explorar o código

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 %!s(int64=10) %!d(string=hai) anos
pai
achega
339d543020
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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