From c621b2bdf14bbc596ec90e917a2c40fa8dc8a4e8 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 22 Jun 2010 16:01:57 +0200 Subject: Support extra prefix in code generators This is require when we add a new spice.proto for the old (major 1) protocol description. --- python_modules/codegen.py | 1 + 1 file changed, 1 insertion(+) (limited to 'python_modules/codegen.py') diff --git a/python_modules/codegen.py b/python_modules/codegen.py index 5bb659ac..af6636b0 100644 --- a/python_modules/codegen.py +++ b/python_modules/codegen.py @@ -113,6 +113,7 @@ class CodeWriter: writer.at_line_start = self.at_line_start writer.generated = self.generated writer.options = self.options + writer.public_prefix = self.public_prefix return writer; -- cgit