aboutsummaryrefslogtreecommitdiff
path: root/backend/backendconvert.icl
diff options
context:
space:
mode:
authorjohnvg2006-03-24 14:08:08 +0000
committerjohnvg2006-03-24 14:08:08 +0000
commit1b0434ad15f62bb4e1b5044b4944e79d3f6a13fe (patch)
treefbb9981eb54587b7444d79a56e9d57336cb729f2 /backend/backendconvert.icl
parentremove unused function 'isRhsStartToken ' (diff)
the backend uses 0 if a line number is unknown, not -1
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1593 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'backend/backendconvert.icl')
-rw-r--r--backend/backendconvert.icl2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/backendconvert.icl b/backend/backendconvert.icl
index d77581e..9197cea 100644
--- a/backend/backendconvert.icl
+++ b/backend/backendconvert.icl
@@ -1235,7 +1235,7 @@ convertRule aliasDummyId (index, {fun_type=Yes type, fun_body=body, fun_pos, fun
positionToLineNumber (LinePos _ lineNumber)
= lineNumber
positionToLineNumber _
- = -1
+ = 0
beautifyAttributes :: SymbolType -> BEMonad SymbolType
beautifyAttributes st