[Synopsis-changes] Synopsis/Synopsis/Synopsis/Parser/Cxx Parser.py,1.1,1.2

Stefan Seefeld stefan at synopsis.fresco.org
Wed Nov 5 19:52:26 UTC 2003


Update of /cvs/synopsis/Synopsis/Synopsis/Parser/Cxx
In directory frida:/tmp/cvs-serv3508/Synopsis/Parser/Cxx

Modified Files:
	Parser.py 
Log Message:
forgot support for emulate_compiler...

Index: Parser.py
===================================================================
RCS file: /cvs/synopsis/Synopsis/Synopsis/Parser/Cxx/Parser.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -d -r1.1 -r1.2
--- Parser.py	5 Nov 2003 17:36:55 -0000	1.1
+++ Parser.py	5 Nov 2003 19:52:24 -0000	1.2
@@ -19,14 +19,15 @@ import occ
 
 class Parser(Processor):
 
+   preprocessor = None
+   emulate_compiler = None
    cppflags = []
    main_file_only = True
-   preprocessor = 'gcc'
    base_path = ''
    extract_tails = True
    syntax_prefix = None
    xref_prefix = None
-  
+   
    def process(self, ast, **kwds):
         
       self.__dict__.update(kwds)
@@ -40,7 +41,8 @@ class Parser(Processor):
                          self.cppflags,
                          self.extract_tails,
                          self.syntax_prefix,
-                         self.xref_prefix)
+                         self.xref_prefix,
+                         self.emulate_compiler)
       output = kwds.get('output')
       if output:
          AST.save(output, ast)





More information about the Synopsis-changes mailing list