diff options
author | John Ankarström <john@ankarstrom.se> | 2021-09-17 23:47:58 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-09-17 23:47:58 +0200 |
commit | 7d65ce8c8e304dc8367f4492948514f2acc07a3b (patch) | |
tree | 1d1e8584ad326cf3ea7701e2a726a0f0ae1cb6cf /mktpl | |
parent | 56509ab16c8d2225182eb0400e5c6a4900870391 (diff) | |
download | cforum-7d65ce8c8e304dc8367f4492948514f2acc07a3b.tar.gz |
Whatever
Diffstat (limited to 'mktpl')
-rwxr-xr-x | mktpl/mktpl | bin | 23988 -> 23988 bytes | |||
-rw-r--r-- | mktpl/mktpl.c | 2 | ||||
-rw-r--r-- | mktpl/mktpl.lex | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/mktpl/mktpl b/mktpl/mktpl Binary files differindex 092441e..415d645 100755 --- a/mktpl/mktpl +++ b/mktpl/mktpl 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("\\\\"); |