diff options
-rw-r--r-- | BUGS | 2 | ||||
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | jim.c | 1 |
3 files changed, 7 insertions, 1 deletions
@@ -5,3 +5,5 @@ EXPR: || and && are not lazy. ?: is not implemented. Double math not jim::libPath variable is accessed in the local context instead than globally, so the [load] command will fail inside procs. + +[subst] ingores special meaning of JIM_BREAK and alike. @@ -46,9 +46,12 @@ extensions: posix clean: rm -f *.o *.so core .depend .*.swp $(PROGRAMS) gmon.out -test: +test: jim ./jim test.tcl ./jim regtest.tcl +bench: jim + ./jim bench.tcl + # Dependences jim.o: jim.c jim.h @@ -1334,6 +1334,7 @@ static int Jim_Escape(char *dest, char *s, int slen) case 't': *p++ = 0x9; i++; break; case 'v': *p++ = 0xb; i++; break; case '\0': *p++ = '\\'; i++; break; + case '\n': *p++ = ' '; i++; break; default: if (s[i+1] == 'x') { int val = 0; |