summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2012-06-06 23:18:10 -0700
committerBrian Carlstrom <bdc@google.com>2012-06-06 23:18:10 -0700
commita91bc63a27a0201f58ced75ff85dcfe6a3d358c6 (patch)
tree9a15319ae9d31d2b7d5b4445287cc8cdf16923f0 /tools
parentd06dfe7b09de95c035fa736d2b62aa9fee2347b5 (diff)
downloadandroid_art-a91bc63a27a0201f58ced75ff85dcfe6a3d358c6.tar.gz
android_art-a91bc63a27a0201f58ced75ff85dcfe6a3d358c6.tar.bz2
android_art-a91bc63a27a0201f58ced75ff85dcfe6a3d358c6.zip
Make generate-operator-out.py only skip // line comments
Change-Id: I5d279b735b383a901fd25034fdd9202c8e97582d
Diffstat (limited to 'tools')
-rwxr-xr-xtools/generate-operator-out.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/generate-operator-out.py b/tools/generate-operator-out.py
index 23d6d3ec57..88753b55fb 100755
--- a/tools/generate-operator-out.py
+++ b/tools/generate-operator-out.py
@@ -104,7 +104,7 @@ def ProcessFile(filename):
continue
# Strip // comments.
- line = re.sub(r'//.*', '', raw_line)
+ line = re.sub(r'^ *//.*', '', raw_line)
# Strip whitespace.
line = line.strip()