Changeset 107 for trunk/lib/Parser.cc


Ignore:
Timestamp:
Jun 28, 2006, 11:12:38 AM (15 years ago)
Author:
Peter Johansson
Message:

Gnuplot functions returning int and utilizing that in the test. However the warning sent from Gnuplot ref #37 is not caught since there is no problem with the pipe there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Parser.cc

    r103 r107  
    4141      if (where==str.end())
    4242        type_.push_back(empty);
    43       else if (*where=='/' && *(where+1)=='/')
     43      else if (*where=='/' && ((where++)!=str.end()) && *where=='/')
    4444        type_.push_back(comment);
    4545      else
Note: See TracChangeset for help on using the changeset viewer.