Ignore:
Timestamp:
07/11/20 13:47:06 (2 months ago)
Author:
Maciej Komosinski
Message:

Report the error status just once so that while(go()) does not have to always check the error condition to stop (prevents endless loop on permanent errors)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/param/multiparamload.cpp

    r973 r998  
    9393{
    9494        SString buf;
    95         if (status == OnError) return status;
     95        if (status == OnError) return getStatusClearError();
    9696        int unexpected_line = 0;
    9797        while (!finished())
     
    202202                }
    203203        }
    204         return status;
     204        return getStatusClearError();
    205205}
    206206
Note: See TracChangeset for help on using the changeset viewer.