COIN-OR::LEMON - Graph Library

Changeset 2255:4a9cc8c800ae in lemon-0.x for lemon/bits


Ignore:
Timestamp:
10/18/06 17:18:27 (13 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3006
Message:

It have not been saved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/bits/item_writer.h

    r2254 r2255  
    8585        if (!readableParsed('{', '}', is)) return false;
    8686        break;
     87      case '/':
     88        is.putback(c);
     89        if (!readableParsed('/', '/', is)) return false;
     90        break;
    8791      case '\"':
    8892        is.putback(c);
     
    113117      bool esc = false;
    114118      if (!is.get(c) || c != quote) return false;
    115       while (is.get(c) && c != quote && !esc) {
     119      while (is.get(c) && (c != quote || esc)) {
    116120        if (c == '\\') esc = !esc;
    117121        else esc = false;
Note: See TracChangeset for help on using the changeset viewer.