Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001938Core InformSource text and punctuationpublic2016-08-03 14:122016-08-03 16:43
Assigned To 
Platformx86OSWindowsOS Version7
Product Version6M62 
Target VersionFixed in Version 
Summary0001938: Semicolon instead of colon in repeat construct causes code 10 fault in compiler
DescriptionWhen you use semicolon (;) instead of colon (:) to terminate a repeat with running through construct, the compiler dies with code 10.

As this input is clearly invalid, it's not very serious in itself, but it makes it very hard to debug to find the error, especially in larger projects/changes.
Minimal Source Text To Reproduce
Library is a room.

When play begins:
	Repeat with X running through the things in library;
		Say X;
Additional InformationInform 7 build 6M62 has started.
I've now read your source text, which is 22 words long.
I've also read Standard Rules by Graham Nelson, which is 42655 words long.
I've also read English Language by Graham Nelson, which is 2297 words long.

Compiler finished with code 10
TagsNo tags attached.
Effect(critical) Compiler reports internal error
Attached Files

- Relationships
duplicate of 0001837confirmed Crash on wrongly-terminated if phrase 

-  Notes
zarf (developer)
2016-08-03 16:43

This is the same problem as [^] Same syntax, same stack trace. (Although it was originally reported for "if" rather than "repeat". I've added a note.)

- Issue History
Date Modified Username Field Change
2016-08-03 14:12 FictitiousFrode New Issue
2016-08-03 16:43 zarf Note Added: 0004518
2016-08-03 16:43 zarf Relationship added duplicate of 0001837

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker