Ignore:
Timestamp:
Mar 1, 2017, 4:17:24 PM (3 years ago)
Author:
nmedfort
Message:

Progress on parenthesis matching example

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/carry_data.h

    r5347 r5353  
    3434    CarryData()
    3535    : summaryType(NoSummary)   
    36     , variableLength(false)
    37     {
     36    , carryCollapsingMode(false) {
    3837
    3938    }
     
    5554    }
    5655
    57     bool hasVariableLength() const {
    58         return variableLength;
     56    bool nonCarryCollapsingMode() const {
     57        return carryCollapsingMode;
    5958    }
    6059
     60    void setNonCarryCollapsingMode(const bool value = true) {
     61        carryCollapsingMode = value;
     62    }
    6163   
    6264protected:
    6365
    6466    SummaryType             summaryType;
    65     bool                    variableLength;
     67    bool                    carryCollapsingMode;
    6668
    6769};
Note: See TracChangeset for help on using the changeset viewer.