mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
Make generate_program virtual.
Haskell and OCaml need to override this to put typedefs at the end. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665590 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
237171ee81
commit
b4d7b89efd
@ -34,9 +34,9 @@ class t_generator {
|
||||
/**
|
||||
* Framework generator method that iterates over all the parts of a program
|
||||
* and performs general actions. This is implemented by the base class and
|
||||
* should not be overwritten in the subclasses.
|
||||
* should not normally be overwritten in the subclasses.
|
||||
*/
|
||||
void generate_program();
|
||||
virtual void generate_program();
|
||||
|
||||
const t_program* get_program() const { return program_; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user