Changeset 14557 for trunk/FACT++/src


Ignore:
Timestamp:
11/05/12 12:00:48 (12 years ago)
Author:
tbretz
Message:
Added one more custom state, i.e. shifter all internal (negative) ones by one.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Readline.cc

    r14069 r14557  
    100100//
    101101Readline::Readline(const char *prgname) :
    102     fMaxLines(500), fLine(0), fSection(-3), fLabel(-1), fCompletion(0)
     102    fMaxLines(500), fLine(0), fSection(-4), fLabel(-1), fCompletion(0)
    103103{
    104104    if (This)
     
    10881088        Execute(opt, data);
    10891089        fScript = save;
    1090         if (save_sec!=-3)
     1090        if (save_sec!=-4)
    10911091        {
    10921092            fSection = save_sec;
     
    13551355    fScript = name;
    13561356
    1357     fSection = -2;
    1358     SetSection(-2);
     1357    fSection = -3;
     1358    SetSection(-3);
    13591359    fLabel = -1;
    13601360
     
    13691369    if (!fin)
    13701370    {
    1371         fSection = -3;
    1372         SetSection(-3);
     1371        fSection = -4;
     1372        SetSection(-4);
    13731373        return -1;
    13741374    }
     
    14201420
    14211421    fLabel = -1;
    1422     fSection = -3;
    1423     SetSection(-3);
     1422    fSection = -4;
     1423    SetSection(-4);
    14241424
    14251425    return rc;
Note: See TracChangeset for help on using the changeset viewer.