Ignore:
Timestamp:
Jan 16, 2017, 4:54:43 AM (5 years ago)
Author:
Peter
Message:

merge release 0.14 into trunk

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/yat/classifier/Target.cc

    r2919 r3579  
    66  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    77  Copyright (C) 2012 Peter Johansson
     8  Copyright (C) 2017 Jari Häkkinen
    89
    910  This file is part of the yat library, http://dev.thep.lu.se/yat
     
    8586    while(ok) {
    8687      if(sep=='\0')
    87         ok=(is>>word);
     88        ok=!(is>>word).fail();
    8889      else
    89         ok=getline(is, word, sep);
     90        ok=!getline(is, word, sep).fail();
    9091
    9192      // ignore empty words
Note: See TracChangeset for help on using the changeset viewer.