Changeset 5560978 in git
- Timestamp:
- Mar 22, 2018, 2:44:20 PM (5 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a657104b677b4c461d018cbf3204d72d34ad66a9')
- Children:
- 7ce322b8f6be293aef66aa32857f21916e1750e8
- Parents:
- caf8c65d1b9e21816d4d531841968cbefef2fecb
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/scanner.cc
rcaf8c6 r5560978 585 585 extern int inerror; 586 586 587 #ifndef SING_NDEBUG 587 588 // this is to shadow the malloc/realloc 588 589 // used by yy_flex_malloc/yy_flex_realloc … … 600 601 omMarkAsStaticAddr(new_addr); 601 602 return new_addr; 602 }603 static void my_free(void* addr)604 {605 omFree(addr);606 603 } 607 604 #undef malloc … … 609 606 #undef realloc 610 607 #define realloc my_realloc 608 #else 609 #undef malloc 610 #define malloc omAlloc 611 #undef realloc 612 #define realloc omRealloc 613 #endif 611 614 #undef free 612 #define free my_free615 #define free omFree 613 616 static char * dupyytext() 614 617 { -
Singular/scanner.ll
rcaf8c6 r5560978 26 26 extern int inerror; 27 27 28 #ifndef SING_NDEBUG 28 29 // this is to shadow the malloc/realloc 29 30 // used by yy_flex_malloc/yy_flex_realloc … … 42 43 return new_addr; 43 44 } 44 static void my_free(void* addr)45 {46 omFree(addr);47 }48 45 #undef malloc 49 46 #define malloc my_malloc 50 47 #undef realloc 51 48 #define realloc my_realloc 49 #else 50 #undef malloc 51 #define malloc omAlloc 52 #undef realloc 53 #define realloc omRealloc 54 #endif 52 55 #undef free 53 #define free my_free56 #define free omFree 54 57 static char * dupyytext() 55 58 {
Note: See TracChangeset
for help on using the changeset viewer.