equal
deleted
inserted
replaced
413 time_ull += time_ld; |
413 time_ull += time_ld; |
414 return time_ull; |
414 return time_ull; |
415 }; |
415 }; |
416 ERROR; // should never reach this point! |
416 ERROR; // should never reach this point! |
417 return 0; // humour the compiler! |
417 return 0; // humour the compiler! |
418 }; |
418 } |
419 |
419 |
420 /***********************************************************************/ |
420 /***********************************************************************/ |
421 /***********************************************************************/ |
421 /***********************************************************************/ |
422 /***********************************************************************/ |
422 /***********************************************************************/ |
423 /***********************************************************************/ |
423 /***********************************************************************/ |
572 class generate_c_datatypes_c: public generate_c_typedecl_c { |
572 class generate_c_datatypes_c: public generate_c_typedecl_c { |
573 public: |
573 public: |
574 typedef enum { |
574 typedef enum { |
575 none_im, |
575 none_im, |
576 arrayname_im, |
576 arrayname_im, |
577 arraydeclaration_im, |
577 arraydeclaration_im |
578 } inlinearray_mode_t; |
578 } inlinearray_mode_t; |
579 |
579 |
580 private: |
580 private: |
581 stage4out_c *s4o_ptr; |
581 stage4out_c *s4o_ptr; |
582 std::map<std::string, int> inline_array_defined; |
582 std::map<std::string, int> inline_array_defined; |
2284 class generate_c_c: public iterator_visitor_c { |
2284 class generate_c_c: public iterator_visitor_c { |
2285 public: |
2285 public: |
2286 typedef enum { |
2286 typedef enum { |
2287 none_gm, |
2287 none_gm, |
2288 datatypes_gm, |
2288 datatypes_gm, |
2289 pous_gm, |
2289 pous_gm |
2290 } generate_mode_t; |
2290 } generate_mode_t; |
2291 |
2291 |
2292 protected: |
2292 protected: |
2293 stage4out_c &s4o; |
2293 stage4out_c &s4o; |
2294 stage4out_c pous_s4o; |
2294 stage4out_c pous_s4o; |