Index: tools/js2c.py |
diff --git a/tools/js2c.py b/tools/js2c.py |
index 788b2e74d24729cdfa5782dae2a03fd50b705896..e1d617dd274900757cbe4e2c0dcd3cc135f4e58d 100755 |
--- a/tools/js2c.py |
+++ b/tools/js2c.py |
@@ -431,7 +431,7 @@ def PrepareSources(source_files, native_type, emit_js): |
# It cannot be empty (or whitespace, which gets trimmed to empty), as |
# the deserialization code assumes each file is nonempty. |
if not source_files_and_contents: |
- source_files_and_contents = [("dummy.js", "void 0;")] |
+ source_files_and_contents = [("dummy.js", "(function() {})")] |
result = Sources() |