make mupa file loading eol-style insensitive
authorDiane Trout <diane@caltech.edu>
Thu, 19 Apr 2007 23:02:29 +0000 (23:02 +0000)
committerDiane Trout <diane@caltech.edu>
Thu, 19 Apr 2007 23:02:29 +0000 (23:02 +0000)
commit6d25d4d945af696134bdf788b111f38b197b1a15
treeb0631af123104785041f5a7c8fc78b7a94387b52
parent02adcab9918657891638e68580b8b88e6d935875
make mupa file loading eol-style insensitive
ticket:260
I refactored the load_mupa_file function into one that takes a file,
opens it, and then passes it to a different function that takes a stream.
AKA split a function in two, so I could more easily unit test the
mupa loading code.

Once it was unit testable, I moved multiplatform_getline out of sequence,
into its own new cpp file and changed the mupa loading code to use it instead.
alg/CMakeLists.txt
alg/io.cpp [new file with mode: 0644]
alg/io.hpp [new file with mode: 0644]
alg/mussa.cpp
alg/mussa.hpp
alg/sequence.cpp
alg/test/test_mussa.cpp