Magellan Linux

Diff of /trunk/core/include/haskell.sminc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5540 by niro, Thu Jul 1 15:30:26 2010 UTC revision 5541 by niro, Thu Jul 1 15:33:16 2010 UTC
# Line 62  haskell_disable_feature() Line 62  haskell_disable_feature()
62  {  {
63   local feature="$1"   local feature="$1"
64   haskell_feature_is_supported "${feature}" || die "haskell feature '${feature}' not supported!"   haskell_feature_is_supported "${feature}" || die "haskell feature '${feature}' not supported!"
65     echo -e "${COLBLUE}---${COLGRED}  disabled haskell feature '${feature}'${COLDEFAULT}"
66   export HASKELL_FEATURES="${HASKELL_FEATURES/${feature}/}"   export HASKELL_FEATURES="${HASKELL_FEATURES/${feature}/}"
67  }  }
68    
# Line 69  haskell_enable_feature() Line 70  haskell_enable_feature()
70  {  {
71   local feature="$1"   local feature="$1"
72   haskell_feature_is_supported "${feature}" || die "haskell feature '${feature}' not supported!"   haskell_feature_is_supported "${feature}" || die "haskell feature '${feature}' not supported!"
73     echo -e "${COLBLUE}---${COLGREEN}  enabled haskell feature '${feature}'${COLDEFAULT}"
74   export HASKELL_FEATURES+=" ${feature}"   export HASKELL_FEATURES+=" ${feature}"
75  }  }
76    

Legend:
Removed from v.5540  
changed lines
  Added in v.5541