MantisBT - Core Inform
View Issue Details
0001523Core InformSource text and punctuationpublic2015-02-22 11:262015-05-24 04:22
x86Mac OS X10.10
(critical) Compiler reports internal error
0001523: Wayward parentheses not always caught
Sometimes extra parentheses trigger an internal compiler error or are accepted without a Problem message despite being invalid code (in the second example below, trying to name the object "zonk()" correctly yields a Problem message saying names cannot contain parentheses). In the third example below, a Problem message is issued followed by an internal error.
[ Internal error: ]

"Foo" by Bar.
Zog is a room.
The player unlocks( the player.

[ No Problem message: ]

"Foo" by Bar.
Zog is a room.
Wug is a kind of thing. Some wugs are defined by the Table of Wuggitude.

Table of Wuggitude

[ Problem message + internal error: ]

"Foo" by Bar.
Zog is a room.
This is the blugg(le rule: do nothing.
No tags attached.
Issue History
2015-02-22 11:26dfremontNew Issue
2015-02-23 01:21dfremontNote Added: 0003309
2015-03-22 20:19zarfNote Added: 0003366
2015-03-22 20:19zarfStatusnew => confirmed
2015-05-24 04:22grahamNote Added: 0003770
2015-05-24 04:22grahamStatusconfirmed => resolved
2015-05-24 04:22grahamResolutionopen => fixed
2015-05-24 04:22grahamAssigned To => graham

2015-02-23 01:21   
The internal error message:

Problem. An internal error has occurred: Bracket mismatch when registering. The current sentence is 'The player unlocks (the player' ; the error was detected at line 613 of "inform7/Chapter 10/Excerpt Meanings.w". This should never happen, and I am now halting in abject failure.
2015-03-22 20:19   
2015-05-24 04:22   
Two distinct bugs here (the first two were one case, the third the other). Fixed.