Skip to content

Commit

Permalink
Adrian Pop, adrpo@ida.liu.se, 2006-02-14.
Browse files Browse the repository at this point in the history
I put back the position information of a class that is part of an element,
because the element could be created, not parsed and has no position then.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2115 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Feb 14, 2006
1 parent 8e5a9bb commit f1737cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Compiler/Interactive.rml
Expand Up @@ -3924,7 +3924,9 @@ relation get_element_type: (Absyn.ElementSpec) => string =
int_string(eline) => eline_str &
int_string(ecol) => ecol_str &
select_string(isReadOnly,"readonly","writable") => readonly_str &
Util.string_append_list(["elementtype=classdef, classname=", id, ", classrestriction=", str_restriction]) => str
Util.string_append_list(["elementtype=classdef, classname=", id, ", classrestriction=", str_restriction,
", classfilename=",file,", classStartLine=",sline_str,", classStartColumn=",scol_str,", classEndLine=",eline_str,
", classEndColumn=",ecol_str]) => str
-----------------------------------------------------------------------------------------------------------
get_element_type(Absyn.CLASSDEF(_, Absyn.CLASS(id, p, f, e, restr, _,
Absyn.INFO(file, isReadOnly, sline, scol, eline, ecol)))) => str
Expand Down

0 comments on commit f1737cc

Please sign in to comment.