Skip to content
  • Sven/Sarah Barth's avatar
    pdecl.pas, readconstant: If we are parsing a constant declaration in a generic... · aa0f1bdf
    Sven/Sarah Barth authored
    pdecl.pas, readconstant: If we are parsing a constant declaration in a generic and we encounter an intrinsic then this intrinsic is left as is (thus the node p returned by comp_expr will be a inlinen instead of an expected ordconstn, stringconstn, etc.). Nevertheless we need to create a symbol for the constant (which isn't done otherwise). In the case of SizeOf a constant "0" will be created. This fixes Mantis #21593.
    
    git-svn-id: trunk@21498 -
    aa0f1bdf