MantisBT - Core Inform
View Issue Details
0001523Core InformSource text and punctuationpublic2015-02-22 11:262015-05-24 04:22
dfremont 
graham 
normalmildalways
resolvedfixed 
x86Mac OS X10.10
6L38 
 
(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
wug
zonk)

[ 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

Notes
(0003309)
dfremont   
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.
(0003366)
zarf   
2015-03-22 20:19   
Confirmed.
(0003770)
graham   
2015-05-24 04:22   
Two distinct bugs here (the first two were one case, the third the other). Fixed.