Project

General

Profile

Actions

Bug #5432

closed

info: define corrupts source files

Added by Ilya Shchepetkov over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
High
Category:
-
Start date:
11/17/2014
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

info: define($(x)) {
    $fprintf<"fprintf","%s %s\n",$macro_name,$path>
}
#define DOUBLE(x) 2*x

int main() {
    int x = DOUBLE(2);

    return 0;
}

info: define makes unwanted changes to source code. We should fix it.
int main() {
    int x = ;

    return 0;
}
Actions #1

Updated by Evgeny Novikov over 9 years ago

  • Status changed from Open to Resolved

Pretty simple fix was implemented in 02cd88e. The corresponding commit to the LDV Tools master branch is 1c04ca3. Test and close if it works for you.

Actions #2

Updated by Ilya Shchepetkov over 9 years ago

It works fine for me, but I can't close this issue. Don't know why.

Actions #3

Updated by Evgeny Novikov over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF