mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
remove non-functional column information from Location objects
This commit is contained in:
parent
5c63133226
commit
a9b37467a4
11 changed files with 15 additions and 32 deletions
|
@ -37,7 +37,7 @@ CPPStmt::CPPStmt(const char* _name, const char* filename, int line_num) : Stmt(S
|
|||
auto empty_args = make_intrusive<ListExpr>();
|
||||
|
||||
ce = make_intrusive<CallExpr>(make_intrusive<ConstExpr>(fv), empty_args);
|
||||
Location loc(filename, line_num, line_num, 1, 1);
|
||||
Location loc(filename, line_num, line_num);
|
||||
ce->SetLocationInfo(&loc);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue