Skip to content

Commit

Permalink
v1.0 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
nhurman committed Apr 9, 2014
1 parent efb17f1 commit 3e18eeb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions YakaC/Parser/Declaration.java
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ public void function()
*/
public Type functionType()
{
if (null == m_function)
throw new RuntimeException("No function declared");

return m_function.type();
}

Expand Down

0 comments on commit 3e18eeb

Please sign in to comment.