diff options
author | Ben Reynwar <ben@reynwar.net> | 2012-04-30 09:20:59 -0700 |
---|---|---|
committer | Ben Reynwar <ben@reynwar.net> | 2012-04-30 09:20:59 -0700 |
commit | 2817cf14147d6da2e7ef051fbbbf8228fd1c07ba (patch) | |
tree | 0695ce3bcdbd75784198c28e6cb963c99ae5d0f6 /volk/gen/volk_regexp.py | |
parent | e7f45e3c513242706a9e4aa36e99e33e79e66d4f (diff) | |
parent | d7ecbd12be995ad6db7a53a5d6dd3fcb205c07ea (diff) |
Merge branch 'master' of http://gnuradio.org/git/gnuradio
Diffstat (limited to 'volk/gen/volk_regexp.py')
-rw-r--r-- | volk/gen/volk_regexp.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/volk/gen/volk_regexp.py b/volk/gen/volk_regexp.py deleted file mode 100644 index eb4ceb54b2..0000000000 --- a/volk/gen/volk_regexp.py +++ /dev/null @@ -1,13 +0,0 @@ -import re - -remove_after_underscore = re.compile("_.*"); -space_remove = re.compile(" "); -leading_space_remove = re.compile("^ *"); -replace_arch = re.compile(", const char\* arch"); -replace_bracket = re.compile(" {"); -replace_volk = re.compile("volk"); - -def strip_trailing(tostrip, stripstr): - lindex = tostrip.rfind(stripstr) - tostrip = tostrip[0:lindex] + tostrip[lindex:len(tostrip)].replace(stripstr, ""); - return tostrip |