diff options
author | Brian Carlstrom <bdc@google.com> | 2012-06-06 23:18:10 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2012-06-06 23:18:10 -0700 |
commit | a91bc63a27a0201f58ced75ff85dcfe6a3d358c6 (patch) | |
tree | 9a15319ae9d31d2b7d5b4445287cc8cdf16923f0 /tools | |
parent | d06dfe7b09de95c035fa736d2b62aa9fee2347b5 (diff) | |
download | android_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-x | tools/generate-operator-out.py | 2 |
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() |