Browse files

Trim expr

  • Loading branch information...
1 parent 747597d commit 45cb3cfce283d49cbe568d48bd90e085dade4828 Rasmus Nielsen committed Aug 27, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 Forecalc.Library/Parser.fs
View
1 Forecalc.Library/Parser.fs
@@ -15,6 +15,7 @@ module Parser =
Thread.CurrentThread.CurrentUICulture <- culture
let parse (expr : string) =
+ let expr = expr.Trim()
if expr.StartsWith("=") then
let e = expr.[1..]
try

0 comments on commit 45cb3cf

Please sign in to comment.