From 314b61f97a6a06f9af0b5b6718c9cea59fcf51e4 Mon Sep 17 00:00:00 2001 From: cuz Date: Sat, 30 Aug 2003 12:29:28 +0000 Subject: [PATCH] Reorder for better error messages git-svn-id: svn://svn.cc65.org/cc65/trunk@2427 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/function.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cc65/function.c b/src/cc65/function.c index fb274d8f9..c30e682a6 100644 --- a/src/cc65/function.c +++ b/src/cc65/function.c @@ -471,15 +471,15 @@ void NewFunc (SymEntry* Func) /* Generate the exit code */ g_leave (); - /* Eat the closing brace */ - ConsumeRCurly (); - /* Emit references to imports/exports */ EmitExternals (); /* Leave the lexical level */ LeaveFunctionLevel (); + /* Eat the closing brace */ + ConsumeRCurly (); + /* Switch back to the old segments */ PopSegments (); -- 2.39.5