Eisenwave / cdecl-plus

Similar to cdecl.org, but with broader support for language features. Static web page which supports file protocol. Parsing and to-prose conversion happen in the front-end, resulting in instant feedback.
https://cdecl.plus/
MIT License
32 stars 4 forks source link

Field width and precision are expected in the wrong position #17

Closed Eisenwave closed 1 year ago

Eisenwave commented 1 year ago

cdecl+ Input

printf("%*.*f", a, b, c)

Expected Prose

ARGUMENTS & EXPECTED TYPES
--------------------------
a (int)
b (int)
c (double)

Actual Prose or Error

ARGUMENTS & EXPECTED TYPES
--------------------------
a (double)
b (int)
c (int)