Skip to content

Commit

Permalink
Merge pull request #448 from 9rnsr/fix11759
Browse files Browse the repository at this point in the history
Add note for lower case suffix 'l' and allow it in lexing level.
  • Loading branch information
andralex committed Dec 18, 2013
2 parents 8238186 + c4a66b0 commit ce74d88
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion deprecate.dd
Expand Up @@ -21,7 +21,7 @@ $(SPEC_S Deprecated Features,
$(TROW $(DEPLINK .offset property), ?, N/A, 0.107, 2.061,  )
$(TROW $(DEPLINK .size property), ?, N/A, 0.107, 0.107, 2.061 )
$(TROW $(DEPLINK Escape string literals), ?, N/A, 2.026, 2.061,  )
$(TROW $(DEPLINK Lower case 'l' suffix for integer literals), ?, N/A, 1.054, 0.174, 2.061 )
$(TROW $(DEPLINK Lower case 'l' suffix for integer literals), ?, N/A, 1.054, 0.174, (never) )
$(TROW $(DEPLINK Octal literals), 2.054, N/A, 2.053,  ,  )
$(TROW $(DEPLINK Upper case 'I' suffix for imaginary literals), ?, N/A, 0.154, 2.061,  )
$(TROW $(DEPLINK HTML source files), ?, N/A, 2.013, N/A, 2.061 )
Expand Down Expand Up @@ -281,6 +281,11 @@ auto x = 123L;
$(H4 Rationale)
$(P The lower case suffix is easily confused with the digit '1'.
)
$(H4 Note)
$(P In lexical analysis phase, compiler can recognize lower case suffix 'l'
to report better error message - for the use case such as C-to-D code
translation. Thus DMD would continue to parse 'l' suffix.
)



Expand Down

0 comments on commit ce74d88

Please sign in to comment.