aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-09-18 10:17:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-09-18 10:17:35 +0200
commitbc199a1762a1ce3ab1e60ec29568c71a35945280 (patch)
treedbdece2ef59d6efa857c89fe58e70f464293d2ff
parent977a139491fea682c9e2c0e549c680481d0e97fc (diff)
Use more portable regex separator2.1.0
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.
-rw-r--r--common/access/makefile4
1 files changed, 2 insertions, 2 deletions
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)