Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid syntax while archiving #17

Open
lacombar opened this issue Mar 9, 2015 · 1 comment
Open

Invalid syntax while archiving #17

lacombar opened this issue Mar 9, 2015 · 1 comment

Comments

@lacombar
Copy link

lacombar commented Mar 9, 2015

[still trying to index v8...]

 CXX(target) /v8/out/x64.debug/obj.target/v8_base/src/accessors.o
  AR(target) /v8/out/x64.debug/obj.target/tools/gyp/libv8_base.a
  LINK(target) /v8/out/x64.debug/mksnapshot
Traceback (most recent call last):
  File "clang-tags", line 550, in <module> sys.exit (main_argparse())
  File "clang-tags", line 541, in main_argparse return args.fun (args)
  File "clang-tags", line 156, in trace
    (programName, command) = eval(line)
  File "<string>", line 1
    ("/bin/ar", ["ar", "crsT", ...
"/v8/out/x64.debug/obj.target/v8_base/src/heap/gc-idle-time-handler.o", ...])                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
SyntaxError: invalid syntax
@lacombar
Copy link
Author

lacombar commented Mar 9, 2015

This seems to do the job...

diff --git a/clang-tags b/clang-tags
index 9820075..0eccf0f 100755
--- a/clang-tags
+++ b/clang-tags
@@ -150,7 +150,7 @@ def trace (args):
             sourceFile = None

             line = m.group(1)
-            line = line.replace('"...', '"')
+            line = line.replace('...', '')
             line = re.sub(", \[/\* [^*]+ \*/\]", "", line)

             (programName, command) = eval(line)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant