Ignore:
Timestamp:
May 16, 2003, 11:47:17 AM (18 years ago)
Author:
luba
Message:
  • type word is registered
File:
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/runtime/rf_word.cc

    r723 r731  
    11#include "rf_word.ih"
     2#include "rf_expr.ih"
     3#include "rf_types.ih"
    24
    35namespace rftype
     
    3032    else return false;
    3133  }
     34}
     35 
     36Expr Word::create_expr (wchar_t const* _wstr)
     37 {
     38  Expr e = Term::create_expr(1);
     39  Term* p = e.get_first();
     40  new(p) Word(_wstr);
     41  return e;
     42}
     43
     44Expr Word::create_expr (char const* _str, char const* _locale /* = null */)
     45{
     46  Expr e = Term::create_expr(1);
     47  Term* p = e.get_first();
     48  new(p) Word(_str, _locale);
     49  return e;
    3250}
    3351
     
    6381  Word::compare,
    6482  Word::hash,
    65   Word::to_string
     83  null // Word::to_string
    6684};
    6785
Note: See TracChangeset for help on using the changeset viewer.