Ignore:
Timestamp:
Jan 6, 2015, 6:29:36 PM (5 years ago)
Author:
cameron
Message:

AST support for Lookahead/Lookbehind? assertions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/cc/cc_namemap.cpp

    r4337 r4406  
    77#include <re/re_diff.h>
    88#include <re/re_intersect.h>
     9#include <re/re_assertion.h>
    910#include <re/printer_re.h>
    1011#include <iostream>
     
    2728    else if (Rep * rep = dyn_cast<Rep>(re)) {
    2829        rep->setRE(process(rep->getRE(), t));
     30    }
     31    else if (Assertion * a = dyn_cast<Assertion>(re)) {
     32        a->setAsserted(process(a->getAsserted(), t));
    2933    }
    3034    else if (Diff * diff = dyn_cast<Diff>(re)) {
Note: See TracChangeset for help on using the changeset viewer.