-
- Downloads
Merge branch 'Parameter-File' into 'master'
Parameter file First version of parameter file parser. Should be able to: - Read integers - Read floats - Read doubles - Read strings - Ignore comments that start with '#' - Validate that integers are not written as floats in the input file - Check whether two values are present on the same line - Print the contents of the structure that holds all parameters read from the file I had to add `../src/parser.c` to the Makefile.am in the tests directory to get `make check` working. Not sure if this is the correct way of doing it. See merge request !129
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- src/Makefile.am 2 additions, 2 deletionssrc/Makefile.am
- src/parser.c 265 additions, 0 deletionssrc/parser.c
- src/parser.h 54 additions, 0 deletionssrc/parser.h
- src/swift.h 3 additions, 3 deletionssrc/swift.h
- tests/Makefile.am 6 additions, 3 deletionstests/Makefile.am
- tests/testParser.c 67 additions, 0 deletionstests/testParser.c
- tests/testParser.sh 3 additions, 0 deletionstests/testParser.sh
- tests/testParserInput.yaml 9 additions, 0 deletionstests/testParserInput.yaml
Loading
Please register or sign in to comment