Skip to content
Snippets Groups Projects
  1. Aug 09, 2009
    • Mark Olesen's avatar
      improvments to tokenizing Scalar · 9407443e
      Mark Olesen authored
      - for alphanumeric sequences (optionally with [-+.]) that don't look
        like a float or int -> return as a word
      
        This means that '0patch' now looks like a <word> (not <label>)
        and '1.end' looks like a <word> and not <scalar>
      
        Something like '1-e' still does get treated as a bad <scalar> though
      9407443e
    • Mark Olesen's avatar
      tokenizing Scalar is more stringent · e905f9b0
      Mark Olesen authored
      - require a digit somewhere. This traps '.' or '.+E' type of sequences
        instead of returning them as 0
      
      - avoid buffer overruns on really long sequences
      
      - should we be considering strtod() as an alternative to atof() and checking
        the errno?
        The same might be true for using strtoul() or strtol() instead of atol()
      e905f9b0
    • Mark Olesen's avatar
  2. Aug 07, 2009
  3. Aug 06, 2009
  4. Aug 05, 2009
  5. Aug 04, 2009
  6. Aug 03, 2009