~mrms/regum

470ba6c2e7dfa84112989ca605be12215dc64264 — Marek Ma┼íkarinec 11 months ago 82f8311
bump to new umka version
5 files changed, 4 insertions(+), 4 deletions(-)

M Makefile
M reg.c
D reg.umi
A reg_linux.umi
M test.um
M Makefile => Makefile +2 -2
@@ 1,3 1,3 @@

reg.umi: reg.c
	$(CC) -fPIC -shared -o reg.umi reg.c libumka.a
reg_linux.umi: reg.c
	$(CC) -fPIC -shared -o reg_linux.umi reg.c libumka.a

M reg.c => reg.c +1 -1
@@ 1,5 1,5 @@
#include <regex.h>

#include <stdio.h>

#include "umka_api.h"


D reg.umi => reg.umi +0 -0
A reg_linux.umi => reg_linux.umi +0 -0
M test.um => test.um +1 -1
@@ 15,7 15,7 @@ fn main() {
	s := "abcda\nefgahn"
	m := reg.exec(r, s)
	if m.start >= 0 {
		printf("%s\n", repr(m))
		printf("%v\n", m)
		printf("%s\n", slice(s, m.start, m.end))
	}
}