Changeset e514ee in git
- Timestamp:
- Nov 24, 1999, 6:09:39 PM (24 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- 5d32fdb9ecb9fff4978a30bd8fb80b5e9fcdb7b0
- Parents:
- 17b9209be23f46743b20ed712fa0ce186bc1a6ae
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/extra.cc
r17b920 re514ee 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: extra.cc,v 1.11 8 1999-11-19 16:42:39 obachmanExp $ */4 /* $Id: extra.cc,v 1.119 1999-11-24 17:09:34 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: general interface to internals of Singular ("system" command) … … 1003 1003 else 1004 1004 #endif 1005 /*==================== sdb-debugger =================*/1006 if (strcmp(sys_cmd, "breakpoint") == 0)1007 {1008 if (h==NULL)1009 {1010 sdb_show_bp();1011 return FALSE;1012 }1013 else if (h->Typ()==PROC_CMD)1014 {1015 int lineno=0;1016 if ((h->next!=NULL) && (h->next->Typ()==INT_CMD))1017 {1018 lineno=(int)h->next->Data();1019 }1020 return sdb_set_breakpoint(h->Name(),lineno);1021 }1022 else1023 {1024 WerrorS("system(\"breakpoint\",`proc`[,`int`]) expected");1025 return TRUE;1026 }1027 }1028 else1029 1005 /*==================== sdb_flags =================*/ 1030 1006 if (strcmp(sys_cmd, "sdb_flags") == 0) -
Singular/iparith.cc
r17b920 re514ee 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: iparith.cc,v 1.1 89 1999-11-24 14:07:22 obachmanExp $ */4 /* $Id: iparith.cc,v 1.190 1999-11-24 17:09:35 Singular Exp $ */ 5 5 6 6 /* … … 21 21 #include "mmemory.h" 22 22 #include "febase.h" 23 #include "sdb.h" 23 24 #include "longalg.h" 24 25 #include "polys.h" … … 130 131 { "betti", 0, BETTI_CMD , CMD_12}, 131 132 { "break", 0, BREAK_CMD , BREAK_CMD}, 133 { "breakpoint", 0, BREAKPOINT_CMD , CMD_M}, 132 134 { "char", 0, CHARACTERISTIC_CMD ,CMD_1}, 133 135 { "char_series", 0, CHAR_SERIES_CMD , CMD_1}, … … 4366 4368 }; 4367 4369 /*=================== operations with many arg.: static proc =================*/ 4370 static BOOLEAN jjBREAK0(leftv res, leftv v) 4371 { 4372 sdb_show_bp(); 4373 return FALSE; 4374 } 4375 static BOOLEAN jjBREAK1(leftv res, leftv v) 4376 { 4377 if(v->Typ()==PROC_CMD) 4378 { 4379 int lineno=0; 4380 if((v->next!=NULL) && (v->next->Typ()==INT_CMD)) 4381 { 4382 lineno=(int)v->next->Data(); 4383 } 4384 return sdb_set_breakpoint(v->Name(),lineno); 4385 } 4386 return TRUE; 4387 } 4368 4388 static BOOLEAN jjCALL1ARG(leftv res, leftv v) 4369 4389 { … … 4877 4897 // proc cmd res number_of_args 4878 4898 {jjKLAMMER_PL, '(', ANY_TYPE, -2 } 4899 ,{jjBREAK0, BREAKPOINT_CMD, NONE, 0 } 4900 ,{jjBREAK1, BREAKPOINT_CMD, NONE, -2 } 4879 4901 ,{jjCALL2ARG, COEF_CMD, MATRIX_CMD, 2 } 4880 4902 ,{jjCOEF_M, COEF_CMD, NONE, 4 } -
Singular/tok.h
r17b920 re514ee 7 7 * ABSTRACT: tokens, types for interpreter; general macros 8 8 */ 9 /* $Id: tok.h,v 1.3 0 1999-11-24 14:02:47 wichmannExp $ */9 /* $Id: tok.h,v 1.31 1999-11-24 17:09:36 Singular Exp $ */ 10 10 11 11 #ifndef MYYSTYPE … … 46 46 ATTRIB_CMD, 47 47 BAREISS_CMD, 48 BREAKPOINT_CMD, 48 49 CHARACTERISTIC_CMD, 49 50 CHARSTR_CMD,
Note: See TracChangeset
for help on using the changeset viewer.