Cleanup
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
CC=gcc
|
||||
shortcodes.c: shortcodes.rl
|
||||
ragel -G2 shortcodes.rl -o shortcodes.c
|
||||
clean:
|
||||
|
@ -1,13 +1,12 @@
|
||||
@[Link(ldflags: "#{__DIR__}/shortcodes.o")]
|
||||
lib Shortcodes
|
||||
|
||||
struct Chunk
|
||||
start : UInt32
|
||||
len : UInt32
|
||||
end
|
||||
|
||||
struct ScError
|
||||
position: UInt32
|
||||
position : UInt32
|
||||
code : UInt32
|
||||
end
|
||||
|
||||
@ -28,5 +27,5 @@ lib Shortcodes
|
||||
errcount : UInt32
|
||||
end
|
||||
|
||||
fun parse(input : Pointer(LibC::Char)) : ScResult;
|
||||
end
|
||||
fun parse(input : Pointer(LibC::Char)) : ScResult
|
||||
end
|
||||
|
Reference in New Issue
Block a user