summaryrefslogtreecommitdiff
path: root/src/icont/tcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/icont/tcode.c')
-rw-r--r--src/icont/tcode.c29
1 files changed, 8 insertions, 21 deletions
diff --git a/src/icont/tcode.c b/src/icont/tcode.c
index 9a9787c..44839b6 100644
--- a/src/icont/tcode.c
+++ b/src/icont/tcode.c
@@ -118,9 +118,6 @@ register nodeptr t;
loopsp->markcount++;
traverse(Tree0(t)); /* evaluate first alternative */
loopsp->markcount--;
- #ifdef EventMon
- setloc(t);
- #endif /* EventMon */
emit("esusp"); /* and suspend with its result */
emitl("goto", lab+1);
emitlab(lab);
@@ -1020,24 +1017,14 @@ nodeptr n;
static void emitline(n)
nodeptr n;
{
- #ifdef SrcColumnInfo
- /*
- * if either line or column has changed, emit location information
- */
- if (((Col(n) << 16) + Line(n)) != lastlin) {
- lastlin = (Col(n) << 16) + Line(n);
- emitn("line",Line(n));
- emitn("colm",Col(n));
- }
- #else /* SrcColumnInfo */
- /*
- * if line has changed, emit line information
- */
- if (Line(n) != lastlin) {
- lastlin = Line(n);
- emitn("line", lastlin);
- }
- #endif /* SrcColumnInfo */
+ /*
+ * if either line or column has changed, emit location information
+ */
+ if (((Col(n) << 16) + Line(n)) != lastlin) {
+ lastlin = (Col(n) << 16) + Line(n);
+ emitn("line",Line(n));
+ emitn("colm",Col(n));
+ }
}
/*