/******************************************************************************
- * Copyright (c) 2000-2015 Ericsson Telecom AB
+ * Copyright (c) 2000-2016 Ericsson Telecom AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Balasko, Jeno
+ * Baranyi, Botond
+ * Beres, Szabolcs
+ * Delic, Adam
+ * Raduly, Csaba
+ * Szabo, Bence Janos
+ *
******************************************************************************/
%{
expstring_t currdirname, dirname, filenamepart, basedir;
currdirname = get_dir_from_path(get_cfg_preproc_current_file().c_str());
dirname = get_dir_from_path(filename.c_str());
- basedir = get_absolute_dir(dirname, currdirname);
+ basedir = get_absolute_dir(dirname, currdirname, 1);
Free(currdirname);
Free(dirname);
filenamepart = get_file_from_path(filename.c_str());
config_preproc_defines=string_map_new();
{
expstring_t dirname=get_dir_from_path(filename);
- expstring_t basedir=get_absolute_dir(dirname, NULL);
+ expstring_t basedir=get_absolute_dir(dirname, NULL, 1);
expstring_t filenamepart=get_file_from_path(filename);
Free(dirname);
if (basedir == NULL) {