]> sourceware.org Git - systemtap.git/commit - elaborate.cxx
PR11334: stub out space for implementation of =~ operator.
authorSerguei Makarov <smakarov@redhat.com>
Fri, 19 Oct 2012 19:49:43 +0000 (15:49 -0400)
committerSerguei Makarov <smakarov@redhat.com>
Tue, 29 Jan 2013 15:31:22 +0000 (10:31 -0500)
commit93daaca80590607b09deff94937d5e031a729482
treef7168efb9a83eb33f1585250bf660174d4d71ebd
parent3b209b28078a644f65981f5dc9e359523d0e55dd
PR11334: stub out space for implementation of =~ operator.

* staptree.h: define regex_query AST node and visitor behaviour.
* staptree.cxx: ditto.
* parse.cxx: parse nonassociative =~ at same precedence as comparison
             -- see parse_comparison_or_regex_query().
* elaborate.cxx: semantic check / tentatively dead code eliminate uses of =~.
* elaborate.h: ditto.
* translate.cxx: generate pointless stub code for =~.

* tapset/string.stp: stubs listing matched() functions et al for subgroup feature.

EMBARRASSINGLY OBVIOUS TODO: parse.cxx allows parsing !~, but doesn't
distinguish it from =~ in any fashion at the moment. Doesn't matter
since neither actually invokes a dfa in this commit!

NEXT STEP: gather the regexes we use in a global regcomp table.
elaborate.cxx
elaborate.h
parse.cxx
staptree.cxx
staptree.h
tapset/string.stp
translate.cxx
This page took 0.03111 seconds and 5 git commands to generate.