<p>I guess the undefined <code>Hello</code> is confusing the parser which manages to get itself sort of back in sync at the <code>end function</code> so the next function is recognised, but not as part of the module.  Note the integer <code>i</code> is not recognised either when the <code>Hello</code> is present.</p>
<p>I presume <code>Hello</code> is defined in <code>hello_mod</code>, but since Geany has no information where to find that then <code>Hello</code> is undefined.  Since <code>Hello</code> is not defined the program is erroneous.</p>
<p>The parsers have only a limited ability to handle erroneous input, so I think its not doing badly actually recognising the second function at all.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2115#issuecomment-478308781">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJw8Rs39qmKpMtkx4MZsT4cdeY_Hcks5vcCu7gaJpZM4cTe0y">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ1ufQNCsij0cdEK84vdddzG_s41iks5vcCu7gaJpZM4cTe0y.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@elextr in #2115: I guess the undefined `Hello` is confusing the parser which manages to get itself sort of back in sync at the `end function` so the next function is recognised, but not as part of the module.  Note the integer `i` is not recognised either when the `Hello` is present.\r\n\r\nI presume `Hello` is defined in `hello_mod`, but since Geany has no information where to find that then `Hello` is undefined.  Since `Hello` is not defined the program is erroneous.\r\n\r\nThe parsers have only a limited ability to handle erroneous input, so I think its not doing badly actually recognising the second function at all."}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/2115#issuecomment-478308781"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2115#issuecomment-478308781",
"url": "https://github.com/geany/geany/issues/2115#issuecomment-478308781",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>