X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=common%2Fconfig_preproc_p.y;h=e2bfc7cd82c569a3c1fc1d1ba1ecc8ad159b7fc4;hb=dcbabe5e25253c2a9f2587449747d7c35cbe5d37;hp=e76ee4f07a61b32f3804bc94e555e6799bed4a2e;hpb=3abe9331b564f65690bdf2ebe001271a7011b0e2;p=deliverable%2Ftitan.core.git diff --git a/common/config_preproc_p.y b/common/config_preproc_p.y index e76ee4f..e2bfc7c 100644 --- a/common/config_preproc_p.y +++ b/common/config_preproc_p.y @@ -1,9 +1,18 @@ /****************************************************************************** - * 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 + * ******************************************************************************/ %{ @@ -256,7 +265,7 @@ extern int add_include_file(const std::string& filename) 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()); @@ -294,7 +303,7 @@ extern int preproc_parse_file(const char *filename, string_chain_t **filenames, 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) {