Changeset 3425 for proto/RE


Ignore:
Timestamp:
Aug 2, 2013, 2:15:41 PM (6 years ago)
Author:
ksherdy
Message:

Added popcount.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/RE/demo/grep_demo.py

    r3424 r3425  
    186186        Match(lex, matches)
    187187
    188 
    189         print pablo.popcount(matches.all_matches)
    190 
    191188        MatchLines1(lex, matches, lines)
    192189        FilterMatchLines(data, output)
    193190
    194191        if(options.count):
    195                 pablo.popcount(matches.all_matches)
     192                print str(pablo.popcount(matches.all_matches))
    196193        else:
    197194    # WriteStreamOutput(Output)
Note: See TracChangeset for help on using the changeset viewer.