diff options
author | joost <joost@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2013-10-20 20:49:45 +0000 |
---|---|---|
committer | joost <joost@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2013-10-20 20:49:45 +0000 |
commit | 8e62d6ce143e9136b37ef901a5ef8867a4d5abbb (patch) | |
tree | 7f127bf0a5a968d0135c6797e073d1537b175fa0 /classattributes/compiler/pdecobj.pas | |
parent | d70be1f8f94272c76e925821ca5972526cfd3f82 (diff) | |
download | fpc-joost.tar.gz |
* Allow rtti-attributes only when the modeswitch prefixedattributes is setjoost
* Set the prefixedattributes by default in mode delphi
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/joost@25838 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'classattributes/compiler/pdecobj.pas')
-rw-r--r-- | classattributes/compiler/pdecobj.pas | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/classattributes/compiler/pdecobj.pas b/classattributes/compiler/pdecobj.pas index 2268a3e5e0..f3be881722 100644 --- a/classattributes/compiler/pdecobj.pas +++ b/classattributes/compiler/pdecobj.pas @@ -1227,7 +1227,10 @@ implementation end; _LECKKLAMMER: begin - parse_rttiattributes(current_rttiattributesdef); + if m_prefixed_attributes in current_settings.modeswitches then + parse_rttiattributes(current_rttiattributesdef) + else + consume(_ID); end; _END : begin |