aboutsummaryrefslogtreecommitdiff
path: root/mktpl
diff options
context:
space:
mode:
Diffstat (limited to 'mktpl')
-rwxr-xr-xmktpl/mktplbin23988 -> 23988 bytes
-rw-r--r--mktpl/mktpl.c2
-rw-r--r--mktpl/mktpl.lex2
3 files changed, 4 insertions, 0 deletions
diff --git a/mktpl/mktpl b/mktpl/mktpl
index 092441e..415d645 100755
--- a/mktpl/mktpl
+++ b/mktpl/mktpl
Binary files differ
diff --git a/mktpl/mktpl.c b/mktpl/mktpl.c
index 2ebc343..e806bef 100644
--- a/mktpl/mktpl.c
+++ b/mktpl/mktpl.c
@@ -1594,6 +1594,8 @@ text()
{
int i;
+ if(!len) return;
+
printf("printf(\"");
for(i = 0; i < len; i++){
if(buf[i] == '\\') printf("\\\\");
diff --git a/mktpl/mktpl.lex b/mktpl/mktpl.lex
index 56ce93f..1940f02 100644
--- a/mktpl/mktpl.lex
+++ b/mktpl/mktpl.lex
@@ -66,6 +66,8 @@ text()
{
int i;
+ if(!len) return;
+
printf("printf(\"");
for(i = 0; i < len; i++){
if(buf[i] == '\\') printf("\\\\");