Skip to content

Commit

Permalink
fixed #137
Browse files Browse the repository at this point in the history
  • Loading branch information
kbak committed Aug 15, 2012
1 parent da52ae8 commit 1702f40
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Language/Clafer/Front/LayoutResolver.hs
Expand Up @@ -206,6 +206,7 @@ addNewLines :: [Token] -> [ExToken]
addNewLines = addNewLines' 0

addNewLines' :: Int -> [Token] -> [ExToken]
addNewLines' _ [] = []
addNewLines' 0 (t:[]) = [ExToken t]
addNewLines' n (t:[])
| n == 0 && isBracketClose t = [ExToken t]
Expand Down
2 changes: 1 addition & 1 deletion src/Language/Clafer/Version.hs
Expand Up @@ -21,4 +21,4 @@ SOFTWARE.
-}

module Language.Clafer.Version where
version = "v0.3.1-8-2012"
version = "v0.3.15-8-2012"
3 changes: 3 additions & 0 deletions test/positive/i137_parsing.cfr
@@ -0,0 +1,3 @@
//# FRAGMENT

//# FRAGMENT

0 comments on commit 1702f40

Please sign in to comment.