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

Also available in: Atom PDF