on master help sign in
Only commit to `port module` if the whole token is there
commit11b0cc067ebd7407ae96eac236108f1423d521f9 authorEvan Czaplicki <info@elm-lang.org> dateFri 15 Apr 2016, 13:44 (11 years ago) parent72da9da
1 file changed+1−1
src/Parse/Module.hs+1−1
src/Parse/Module.hs+1−1
@@ -96,7 +96,7 @@ parseTag =
9696 return (Module.Effect (R.Region start end))
9797 ,
9898 do start <- getMyPosition
99− reserved "port"
99+ try (reserved "port")
100100 whitespace
101101 reserved "module"
102102 end <- getMyPosition