Show
Ignore:
Timestamp:
04/02/09 12:34:39 (8 months ago)
Author:
sukyoungryu
Message:

[syntax] Added DAGGER (U+2020) and DOUBLE DAGGER (U+2021) to the valid Fortress operator list.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ProjectFortress/tests/postfixTest.fss

    r3550 r3603  
    1919export Executable 
    2020 
    21 opr (s: String)MYOPR = println "postfix operator" 
     21opr (s: String)MYOPR = "postfix operator" 
     22opr (s: String)† = "Now, dagger (U+2020) is a valid Fortress operator." 
     23opr (s: String)‡ = "Now, double dagger (U+2021) is a valid Fortress operator." 
    2224 
    23 run() = ""MYOPR 
     25run() = do 
     26  assert(""MYOPR, "postfix operator") 
     27  assert(""†, "Now, dagger (U+2020) is a valid Fortress operator.") 
     28  assert(""‡, "Now, double dagger (U+2021) is a valid Fortress operator.") 
     29end 
    2430 
    2531end