Changeset 460c65f in git
- Timestamp:
- Jan 5, 2010, 12:19:11 PM (13 years ago)
- Branches:
- (u'spielwiese', 'f6c3dc58b0df4bd712574325fe76d0626174ad97')
- Children:
- 835d837d628ffb434ebd7c6219fa7994bdd7d61e
- Parents:
- 1fca0364b35f46a90cbfe6c56518e4c6d8425aeb
- Location:
- kernel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/febase.cc
r1fca03 r460c65f 26 26 #include "omalloc.h" 27 27 #include "dError.h" 28 #include "../Singular/ipshell.h"29 28 30 29 #define fePutChar(c) fputc((uchar)(c),stdout) -
kernel/febase.h
r1fca03 r460c65f 98 98 extern BOOLEAN feWarn; 99 99 extern BOOLEAN feOut; 100 extern int traceit ; 101 #define TRACE_SHOW_PROC 1 102 #define TRACE_SHOW_LINENO 2 103 #define TRACE_SHOW_LINE 4 104 #define TRACE_SHOW_RINGS 8 105 #define TRACE_SHOW_LINE1 16 106 #define TRACE_BREAKPOINT 32 107 #define TRACE_TMP_BREAKPOINT 64 108 extern int myynest; 109 100 110 101 111 … … 137 147 /* the C++-part: */ 138 148 149 typedef enum { LANG_NONE, LANG_TOP, LANG_SINGULAR, LANG_C, LANG_MAX} language_defs; 150 // LANG_TOP : Toplevel package only 151 // LANG_SINGULAR: 152 // LANG_C : 153 // 154 155 class proc_singular 156 { 157 public: 158 long proc_start; // position where proc is starting 159 long def_end; // position where proc header is ending 160 long help_start; // position where help is starting 161 long help_end; // position where help is starting 162 long body_start; // position where proc-body is starting 163 long body_end; // position where proc-body is ending 164 long example_start; // position where example is starting 165 long proc_end; // position where proc is ending 166 int proc_lineno; 167 int body_lineno; 168 int example_lineno; 169 char *body; 170 long help_chksum; 171 }; 172 173 struct proc_object 174 { 175 //public: 176 BOOLEAN (*function)(leftv res, leftv v); 177 }; 178 union uprocinfodata 179 { 180 public: 181 proc_singular s; // data of Singular-procedure 182 struct proc_object o; // pointer to binary-function 183 }; 184 185 typedef union uprocinfodata procinfodata; 186 187 class procinfo; 188 typedef procinfo * procinfov; 189 190 class procinfo 191 { 192 public: 193 char *libname; 194 char *procname; 195 package pack; 196 language_defs language; 197 short ref; 198 char is_static; // if set, proc not accessible for user 199 char trace_flag; 200 procinfodata data; 201 }; 139 202 enum feBufferTypes 140 203 { -
kernel/feread.cc
r1fca03 r460c65f 48 48 /* ===================================================================*/ 49 49 #if defined(HAVE_READLINE) || defined(HAVE_DYN_RL) || defined(HAVE_LIBREADLINE) 50 51 #include "../Singular/ipshell.h"52 50 53 51 #ifndef STDOUT_FILENO
Note: See TracChangeset
for help on using the changeset viewer.