From 7d65ce8c8e304dc8367f4492948514f2acc07a3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 17 Sep 2021 23:47:58 +0200 Subject: Whatever --- mktpl/mktpl | Bin 23988 -> 23988 bytes mktpl/mktpl.c | 2 ++ mktpl/mktpl.lex | 2 ++ 3 files changed, 4 insertions(+) (limited to 'mktpl') diff --git a/mktpl/mktpl b/mktpl/mktpl index 092441e..415d645 100755 Binary files a/mktpl/mktpl and b/mktpl/mktpl 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("\\\\"); -- cgit v1.2.3