• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

marshallward / f90nml
100%
master: 99%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Repo Added 22 Dec 2014 01:40AM UTC
Files 7
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH printtoken
branch: printtoken
CHANGE BRANCH
x
Reset
  • printtoken
  • aek_cols
  • cli
  • cogroup_input
  • cogroup_update
  • constructor_empty_list
  • doctest
  • filearg
  • format
  • grp_contains_fix
  • grp_repeat
  • main
  • master
  • md
  • newline
  • nullpatch
  • revert-20-sparse_arrays
  • startindex
  • string_split
  • tokenizer
  • v0.10.2
  • v0.11
  • v0.12
  • v0.13
  • v0.14
  • v0.15
  • v0.16
  • v0.17
  • v0.18
  • v0.19
  • v0.20
  • v0.21
  • v0.22
  • v0.23
  • v1.0
  • v1.0.1
  • v1.0.2
  • v1.1
  • v1.1.1
  • v1.1.2
  • v1.2
  • v1.3.1
  • v1.4
  • v1.4.1
  • v1.4.2
  • v1.4.3
  • v1.4.4
  • v1.4.5

pending completion
228

push

travis-ci

marshallward
Parse % as value if prior token is not variable

A valid fortran namelist can set a variable equal to a special token as
a string without delimiters, e.g.

&nml
   x = %
/

sets x='%'.  This is difficult to parse in f90nml since we rely on
tokens to identify and distinguish variables.

This patch does not solve the issue, but partially fixes the problem by
identifying that '=' is not a variable name, and therefore '%' should be
interpreted as a value.

Subsequent checks do not correctly read '%' as a value, but it does
prevent corruption of subsequent values.

666 of 669 relevant lines covered (99.55%)

2.99 hits per line

Relevant lines Covered
Build:
Build:
669 RELEVANT LINES 666 COVERED LINES
2.99 HITS PER LINE
Source Files on printtoken
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
228 printtoken Parse % as value if prior token is not variable A valid fortran namelist can set a variable equal to a special token as a string without delimiters, e.g. &nml x = % / sets x='%'. This is difficult to parse in f90nml since we rely on tokens ... push 04 Mar 2017 03:33PM UTC marshallward travis-ci pending completion  
See All Builds (650)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc