[Issue 1061] "asm inc [;" segfaults compiler.

2009-05-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1061


Don  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #4 from Don   2009-05-14 01:31:28 PDT ---
Fixed DMD2.030 and 1.045.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 1061] "asm inc [;" segfaults compiler.

2009-03-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1061





--- Comment #3 from unkn...@simplemachines.org  2009-03-30 01:29 ---
Created an attachment (id=307)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=307&action=view)
Check for TOKeof.

This is crashing because it runs out of tokens, and tries to print the
unexpected character as an error message - but there is no character, it's out
of tokens.

The attached patch checks for TOKeof before spitting out the "unexpected
character" error, and says that character is ";" (which is must always be,
since that's the only way an AsmStatement is created.)

-[Unknown]


--