diff options
author | gingold | 2009-10-30 05:00:00 +0000 |
---|---|---|
committer | gingold | 2009-10-30 05:00:00 +0000 |
commit | 687eab944bacf7355d113e99551f4835d96db184 (patch) | |
tree | 9c02053812bdbb3e781a236f4c678a58621dd4b3 /ortho/gcc | |
parent | 96f253a7da077fa1b39f7531ab7ea446ad5f10ec (diff) | |
download | ghdl-687eab944bacf7355d113e99551f4835d96db184.tar.gz ghdl-687eab944bacf7355d113e99551f4835d96db184.tar.bz2 ghdl-687eab944bacf7355d113e99551f4835d96db184.zip |
Fix line number for gcov.
Diffstat (limited to 'ortho/gcc')
-rw-r--r-- | ortho/gcc/ortho-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ortho/gcc/ortho-lang.c b/ortho/gcc/ortho-lang.c index c37e391..449f1b6 100644 --- a/ortho/gcc/ortho-lang.c +++ b/ortho/gcc/ortho-lang.c @@ -385,7 +385,7 @@ ortho_parse_file (int debug) filename = in_fnames[0]; linemap_add (line_table, LC_ENTER, 0, filename ? filename :"*no-file*", 1); - input_location = linemap_line_start (line_table, 0, 252); + input_location = linemap_line_start (line_table, 1, 252); if (!lang_parse_file (filename)) errorcount++; |