From bc199a1762a1ce3ab1e60ec29568c71a35945280 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 18 Sep 2012 10:17:35 +0200 Subject: Use more portable regex separator In particular, if we use / as in "/foo/bar/", MinGW will replace the leading / with a Windows path. So we use # instead, which seems to work well everywhere. --- common/access/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/access') diff --git a/common/access/makefile b/common/access/makefile index cf167f3..7381beb 100644 --- a/common/access/makefile +++ b/common/access/makefile @@ -35,8 +35,8 @@ gen := $(addprefix $(out_base)/,$(genf)) $(gen): $(odb) $(gen): odb := $(odb) $(gen) $(dist): export odb_options += --database $(db_id) --generate-schema \ ---table-prefix access_ --accessor-regex "/(.+)/Get\u\1/" \ ---modifier-regex "/(.+)/Set\u\1/" +--table-prefix access_ --accessor-regex "\#(.+)\#Get\u\1\#" \ +--modifier-regex "\#(.+)\#Set\u\1\#" $(gen): cpp_options := -I$(src_base) $(gen): $(common.l.cpp-options) -- cgit v1.1