AGS Editor

Further development of AGS Editor

Bug Issue: Unclear error message when missing closing bracket in the end of script

Pages: [1]

Crimson Wizard

  • AGSer
  • Posts: 8,525
« on: 21 Sep 2015, 11:31 »
Putting this code in the end of the script file:
Code: Adventure Game Studio
  1. void F()
  2. {
  3.  

causes following error being reported by compiler:
Quote
GlobalScript.asc(-10): Runtime error: Function still open, missing }

1. It should not mention "runtime", because it is a compilation error.
2. Line number should be correct (or no line number at all, if it is impossible to get correct one).

Issue updated by Crimson Wizard
« Reply #1 on: 22 Mar 2016, 12:30 »
  • Version changed from AGS 3.3.5 to Future version

Issue updated by Crimson Wizard
« Reply #2 on: 04 May 2016, 17:23 »
  • Version changed from Future version to AGS 3.4.0
  • Status changed from New to Resolved

Issue updated by Crimson Wizard
« Reply #3 on: 21 Jan 2018, 07:22 »
  • Status changed from Resolved to Closed

Pages: [1]

Issue Details

  • Reported
    21 Sep 2015, 11:31
  • Updated
    21 Jan 2018, 07:22
  • View Status
    Public
  • Type
    Bug
  • Status
    Closed
  • Priority
    Normal
  • Version
    AGS 3.4.0
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Script Compiler

Tags



Powered by: SMF Project Tools 0.5.4 © Niko Pahajoki 2007-2011