From be27f404d29f83bc0536fdaab97af2cd3866ebf9 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Tue, 2 Oct 2012 19:16:57 +0200 Subject: [PATCH] Prefixes for unique identifier and parent terms were not wrapped --- src/rcldb/rcldb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rcldb/rcldb.cpp b/src/rcldb/rcldb.cpp index 60d6efad..da2deed5 100644 --- a/src/rcldb/rcldb.cpp +++ b/src/rcldb/rcldb.cpp @@ -104,7 +104,7 @@ static const string cstr_syntAbs("?!#@"); // "Q" + external udi static inline string make_uniterm(const string& udi) { - string uniterm("Q"); + string uniterm(wrap_prefix("Q")); uniterm.append(udi); return uniterm; } @@ -116,7 +116,7 @@ static inline string make_parentterm(const string& udi) // I prefer to be in possible conflict with omega than with // user-defined fields (Xxxx) that we also allow. "F" is currently // not used by omega (2008-07) - string pterm("F"); + string pterm(wrap_prefix("F")); pterm.append(udi); return pterm; }