PP: Address #737: accept 'h'/'H' floating-point suffix more broadly.

This commit is contained in:
John Kessenich
2017-02-28 12:40:40 -07:00
parent f67f9d7e4d
commit b67b4a7072
8 changed files with 142 additions and 62 deletions

View File

@@ -13,6 +13,10 @@ PS_OUTPUT main()
int r06 = 6L; // upper long int
int r07 = 071; // octal
uint r08 = 072u; // unsigned octal
float r09 = 1.h; // half
float r10 = 1.H; // half
float r11 = 1.1h; // half
float r12 = 1.1H; // half
PS_OUTPUT ps_output;
ps_output.color = r07; // gets 71 octal = 57 decimal