mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-09-17 19:07:05 +02:00
Merge dmdfe 2.053beta
This commit is contained in:
+6
-1
@@ -1,6 +1,6 @@
|
||||
|
||||
// Compiler implementation of the D programming language
|
||||
// Copyright (c) 1999-2010 by Digital Mars
|
||||
// Copyright (c) 1999-2011 by Digital Mars
|
||||
// All Rights Reserved
|
||||
// written by Walter Bright
|
||||
// http://www.digitalmars.com
|
||||
@@ -2261,6 +2261,7 @@ done:
|
||||
}
|
||||
|
||||
// Parse trailing 'u', 'U', 'l' or 'L' in any combination
|
||||
const unsigned char *psuffix = p;
|
||||
while (1)
|
||||
{ unsigned char f;
|
||||
|
||||
@@ -2287,6 +2288,10 @@ done:
|
||||
break;
|
||||
}
|
||||
|
||||
if (state == STATE_octal && n >= 8 && !global.params.useDeprecated)
|
||||
error("octal literals 0%llo%.*s are deprecated, use std.conv.octal!%llo%.*s instead",
|
||||
n, p - psuffix, psuffix, n, p - psuffix, psuffix);
|
||||
|
||||
switch (flags)
|
||||
{
|
||||
case 0:
|
||||
|
||||
Reference in New Issue
Block a user