<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — File Outline not correct sometimes]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=223&amp;type=atom" />
	<updated>2014-01-14T16:25:40Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=223</id>
		<entry>
			<title type="html"><![CDATA[Re: File Outline not correct sometimes]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1224#p1224" />
			<content type="html"><![CDATA[<p>This seems to be fixed in 2.9.</p><p>At last I can use the outline view <img src="https://forums.approximatrix.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[davidb]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3463</uri>
			</author>
			<updated>2014-01-14T16:25:40Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1224#p1224</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: File Outline not correct sometimes]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=867#p867" />
			<content type="html"><![CDATA[<p>David,</p><p>This is currently a bug, yes.&nbsp; The outline engine is incorrectly bars subroutines and functions from encapsulating other subroutines and functions via <em>contains</em> keywords.&nbsp; I&#039;ll look into fixing this.</p><p>In more standard cases, the outline engine should pick up <em>pure</em> functions just fine (as in when they are not restricted to living inside the scope of another function or subroutine.&nbsp; It does not properly identify <em>pure</em> subroutines, however.&nbsp; </p><p>I&#039;ll go ahead and fix these problems.&nbsp; Thanks for the report!</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2013-07-07T13:39:52Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=867#p867</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[File Outline not correct sometimes]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=865#p865" />
			<content type="html"><![CDATA[<p>When a module contains a subroutine, and the subroutine itself contains an internal subroutine, the file outline view is not correct.</p><p>Module subroutines that follow the internal subroutine are shown as belonging to the file, instead of the module.</p><p>For example, the following code:</p><p>module foo</p><p>contains</p><p>&nbsp; &nbsp; subroutine a<br />&nbsp; &nbsp; &nbsp; &nbsp;! etc<br />&nbsp; &nbsp; contains<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; subroutine x<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; end subroutine x<br />&nbsp; &nbsp; end subroutine a<br />&nbsp; <br />&nbsp; &nbsp;! This subroutine is part of foo, but is shown as part of the file.<br />&nbsp; &nbsp;subroutine b<br />&nbsp; &nbsp; &nbsp; &nbsp;! etc<br />&nbsp; &nbsp;end subroutine b</p><p>end module foo</p><p>ALSO, when a module subroutine or function is PURE the view is similarly incorrect.</p><p>For example,</p><p>pure function xyz(a)</p><p>Regards <br />David</p>]]></content>
			<author>
				<name><![CDATA[davidb]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3463</uri>
			</author>
			<updated>2013-07-06T20:30:07Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=865#p865</id>
		</entry>
</feed>
