Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • SWIFTsim SWIFTsim
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 52
    • Issues 52
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 17
    • Merge requests 17
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • SWIFT
  • SWIFTsimSWIFTsim
  • Merge requests
  • !129

Parameter file

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged James Willis requested to merge Parameter-File into master Mar 23, 2016
  • Overview 21
  • Commits 31
  • Changes 9

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.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: Parameter-File