Changeset 45d13f1 in git
- Timestamp:
- Apr 30, 2013, 12:58:11 PM (10 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 7b7f57814442137d3a1ecedc04d3a2efe5baf5c5
- Parents:
- 9f9dd43ae70c6fefcee2255f30e3cb98f9c50ace
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/extra.cc
r9f9dd4 r45d13f1 457 457 TEST_FOR("ndebug") 458 458 #endif 459 ;459 {}; 460 460 return FALSE; 461 461 #undef TEST_FOR -
Singular/utils.cc
r9f9dd4 r45d13f1 1 #ifdef STANDALONE_PARSER 1 2 #include "config.h" 2 3 #include <kernel/mod2.h> … … 17 18 extern int texinfo_out; 18 19 19 int category_out;20 extern int category_out; 20 21 21 22 extern int found_version, found_info, found_oldhelp, found_proc_in_proc; … … 119 120 } 120 121 /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ 122 procinfo *iiInitSingularProcinfo(procinfo* pi, const char *libname, 123 const char *procname, int line, long pos, 124 BOOLEAN pstatic /*= FALSE*/) 125 { 126 pi->libname = (char *)malloc(strlen(libname)+1); 127 memcpy(pi->libname, libname, strlen(libname)); 128 *(pi->libname+strlen(libname)) = '\0'; 129 130 pi->procname = (char *)malloc(strlen(procname)+1); 131 strcpy(pi->procname, procname/*, strlen(procname)*/); 132 pi->language = LANG_SINGULAR; 133 pi->ref = 1; 134 pi->is_static = pstatic; 135 pi->data.s.proc_start = pos; 136 pi->data.s.def_end = 0L; 137 pi->data.s.help_start = 0L; 138 pi->data.s.body_start = 0L; 139 pi->data.s.body_end = 0L; 140 pi->data.s.example_start = 0L; 141 pi->data.s.proc_lineno = line; 142 pi->data.s.body_lineno = 0; 143 pi->data.s.example_lineno = 0; 144 pi->data.s.body = NULL; 145 pi->data.s.help_chksum = 0; 146 return(pi); 147 } 121 148 122 149 /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ … … 221 248 222 249 /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ 250 #endif
Note: See TracChangeset
for help on using the changeset viewer.