Skip to content
Snippets Groups Projects
Commit 13778f76 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

ENH: use dictionary::readEntry for detection of input errors (#762, #1033)

- instead of   dict.lookup(name) >> val;
  can use      dict.readEntry(name, val);

  for checking of input token sizes.
  This helps catch certain types of input errors:

  {

      key1 ;                // <- Missing value
      key2 1234             // <- Missing ';' terminator
      key3 val;
  }

STYLE: readIfPresent() instead of 'if found ...' in a few more places.
parent 7d880758
Showing
with 54 additions and 56 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment