Skip to content

Commit

Permalink
Merge pull request #295 from goblint/line-offset
Browse files Browse the repository at this point in the history
Add column to location
  • Loading branch information
sim642 authored Jul 22, 2021
2 parents 34cab0b + 7cfd39c commit 6759b40
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion goblint.opam
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ build: [
]
dev-repo: "git+https://github.com/goblint/analyzer.git"
pin-depends: [
[ "goblint-cil.1.8.1" "git+https://github.com/goblint/cil.git#d61cfa6a403f4d278c86344091bc07dccd8b549b" ]
[ "goblint-cil.1.8.1" "git+https://github.com/goblint/cil.git#208d2a2f9e51a42ee0a036f4587624ac7ac23ccb" ]
]
2 changes: 1 addition & 1 deletion goblint.opam.locked
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ build: [
]
dev-repo: "git+https://github.com/goblint/analyzer.git"
pin-depends: [
[ "goblint-cil.1.8.1" "git+https://github.com/goblint/cil.git#d61cfa6a403f4d278c86344091bc07dccd8b549b" ]
[ "goblint-cil.1.8.1" "git+https://github.com/goblint/cil.git#208d2a2f9e51a42ee0a036f4587624ac7ac23ccb" ]
]
name: "goblint"
version: "dev"
2 changes: 1 addition & 1 deletion goblint.opam.template
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pin-depends: [
[ "goblint-cil.1.8.1" "git+https://github.com/goblint/cil.git#d61cfa6a403f4d278c86344091bc07dccd8b549b" ]
[ "goblint-cil.1.8.1" "git+https://github.com/goblint/cil.git#208d2a2f9e51a42ee0a036f4587624ac7ac23ccb" ]
]
2 changes: 1 addition & 1 deletion src/framework/myCFG.ml
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ let getGlobalInits (file: file) : (edge * location) list =
iterGlobals file f;
let initfun = emptyFunction "__goblint_dummy_init" in
(* order is not important since only compile-time constants can be assigned *)
(Entry initfun, {line = 0; file="initfun"; byte= 0} ) :: (BatHashtbl.keys inits |> BatList.of_enum)
(Entry initfun, {line = 0; file="initfun"; byte= 0; column = 0} ) :: (BatHashtbl.keys inits |> BatList.of_enum)

let numGlobals file =
let n = ref 0 in
Expand Down

0 comments on commit 6759b40

Please sign in to comment.