nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge: Reworked crypto.nit to introduce basic XOR attacks
[nit.git]
/
contrib
/
objcwrapper
/
src
/
header_static.nit
diff --git
a/contrib/objcwrapper/src/header_static.nit
b/contrib/objcwrapper/src/header_static.nit
index
19ffd72
..
baefc3e
100644
(file)
--- a/
contrib/objcwrapper/src/header_static.nit
+++ b/
contrib/objcwrapper/src/header_static.nit
@@
-50,7
+50,7
@@
fun header_static(input: Reader, output: Writer) do
while not input.eof do
var line = input.read_line
- if line.has("typedef struct") then continue
+ if line.has("typedef ") and line.has(";") then continue
if line.has("static") then static_target = true