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_compiler.cpp

    r4358 r4406  
    1818#include <re/re_diff.h>
    1919#include <re/re_intersect.h>
     20#include <re/re_assertion.h>
    2021#include <re/printer_re.h>
    2122#include <cc/cc_namemap.hpp>
     
    7475        compileByteClasses(rep->getRE());
    7576    }
     77    else if (Assertion * a = dyn_cast<Assertion>(re)) {
     78        compileByteClasses(a->getAsserted());
     79    }
    7680    else if (Diff * diff = dyn_cast<Diff>(re)) {
    7781        compileByteClasses(diff->getRH());
Note: See TracChangeset for help on using the changeset viewer.