summaryrefslogtreecommitdiff
path: root/ortho/gcc/ortho-lang.c
diff options
context:
space:
mode:
authorgingold2009-10-30 05:00:00 +0000
committergingold2009-10-30 05:00:00 +0000
commit687eab944bacf7355d113e99551f4835d96db184 (patch)
tree9c02053812bdbb3e781a236f4c678a58621dd4b3 /ortho/gcc/ortho-lang.c
parent96f253a7da077fa1b39f7531ab7ea446ad5f10ec (diff)
downloadghdl-687eab944bacf7355d113e99551f4835d96db184.tar.gz
ghdl-687eab944bacf7355d113e99551f4835d96db184.tar.bz2
ghdl-687eab944bacf7355d113e99551f4835d96db184.zip
Fix line number for gcov.
Diffstat (limited to 'ortho/gcc/ortho-lang.c')
-rw-r--r--ortho/gcc/ortho-lang.c2
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++;