http://digitalmars.com/d/2.0/iasm.html AsmPrimaryExp IntegerConstant FloatConstant __LOCAL_SIZE $ Register DotIdentifier IntegerConstant and FloatConstant should either be NumericLiteral, or be specified in the same way that other tokens are specified in the Lexical chapter. Register is not specified in this way either.
http://www.dsource.org/projects/phobos/changeset/1381
Fixed dmd 1.054 and 2.038