Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(810)

Unified Diff: Source/core/scripts/in_generator.py

Issue 14696003: in_file.py should be able to parse "in" files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/scripts/in_generator.py
diff --git a/Source/core/scripts/in_generator.py b/Source/core/scripts/in_generator.py
index e3ec5786f839471a52a9dc575d62ffd7ee2e464c..1ee994a5b6a63c694359bcf880c8486965f3b14a 100644
--- a/Source/core/scripts/in_generator.py
+++ b/Source/core/scripts/in_generator.py
@@ -36,9 +36,10 @@ class Writer(object):
# Subclasses should override.
class_name = None
defaults = None
+ default_parameters = None
def __init__(self, in_file_path):
- self.in_file = InFile.load_from_path(in_file_path, self.defaults)
+ self.in_file = InFile.load_from_path(in_file_path, self.defaults, self.default_parameters)
# Subclasses should override.
def generate_header(self):
« Source/core/scripts/in_file_unittest.py ('K') | « Source/core/scripts/in_file_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698