Ignore:
Timestamp:
Aug 14, 2003, 2:00:20 PM (17 years ago)
Author:
orlov
Message:
  • Put constant declarations in cc-files instead of hh-ones.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/compiler/rfp_asail.rf

    r1146 r1208  
    142142      (e.linkage 'const Expr ' <Rfp2Cpp e.name> ' = '
    143143        <Const-Expr-To-CPP e.expr> ';');
    144     (DECL-OBJ s.linkage s.tag t.name) =
     144    (OBJ s.linkage s.tag t.name) =
    145145      { s.linkage : LOCAL = 'static ';; } :: e.linkage,
    146146      <To-Chars s.tag> : s1 e2,
     
    149149      (e.linkage 'const Expr ' <Rfp2Cpp e.name>
    150150        ' = new rftype::' s1 <To-Lower e2> ' ();');
    151     (DECL-FUNC s.linkage t.name) =
     151    (DECL-OBJ t.name) =
     152      <RFP-Extract-Qualifiers t.name> :: (e.qualifiers) e.name,
     153      <Namespace-Control e.qualifiers>
     154      ('extern const Expr ' <Rfp2Cpp e.name> ';');
     155    (DECL-FUNC t.name) =
    152156      <RFP-Extract-Qualifiers t.name> :: (e.qualifiers) e.name,
    153157      <Namespace-Control e.qualifiers>
Note: See TracChangeset for help on using the changeset viewer.