Added lexars
This commit is contained in:
parent
382b2ce94b
commit
f9f64b0558
820 changed files with 149371 additions and 0 deletions
lexers/testdata
50
lexers/testdata/wgsl.const.numbers.actual
vendored
Normal file
50
lexers/testdata/wgsl.const.numbers.actual
vendored
Normal file
|
@ -0,0 +1,50 @@
|
|||
const a = 0;
|
||||
const au = 0u;
|
||||
const ai = 0i;
|
||||
const b = 12345;
|
||||
const bu = 12345u;
|
||||
const bi= 12345i;
|
||||
const c = 0x0;
|
||||
const cu = 0x0u;
|
||||
const ci = 0x0i;
|
||||
const d = 0x12345;
|
||||
const di = 0x12345i;
|
||||
const du = 0x12345u;
|
||||
const eh = 0h;
|
||||
const ef = 0f;
|
||||
const f = 1.;
|
||||
const fh = 1.h;
|
||||
const ff = 1.f;
|
||||
const g = .1;
|
||||
const gh = .1h;
|
||||
const gf = .1f;
|
||||
const g = 1e1;
|
||||
const gh = 1e1h;
|
||||
const gf = 1e1f;
|
||||
const h = 1e+1;
|
||||
const hh = 1e+1h;
|
||||
const hf = 1e+1f;
|
||||
const i = 1e-1;
|
||||
const ih = 1e-1h;
|
||||
const if = 1e-1f;
|
||||
const j = 1.0e+1;
|
||||
const jh = 1.0e+1h;
|
||||
const jf= 1.0e+1f;
|
||||
const k = 1.0e-1;
|
||||
const kh = 1.0e-1h;
|
||||
const kf= 1.0e-1f;
|
||||
const l = 0x1p1;
|
||||
const lh = 0x1p1h;
|
||||
const lf = 0x1p1f;
|
||||
const m = 0x1p+1;
|
||||
const mh = 0x1p+1h;
|
||||
const mf = 0x1p+1f;
|
||||
const n = 0x1p-1;
|
||||
const nh = 0x1p-1h;
|
||||
const nf = 0x1p-1f;
|
||||
const o = 0x1.p1;
|
||||
const oh = 0x1.p1h;
|
||||
const of = 0x1.p1f;
|
||||
const p = 0x.1p1;
|
||||
const ph = 0x.1p1h;
|
||||
const pf = 0x.1p1f;
|
Loading…
Add table
Add a link
Reference in a new issue