Closed samhh closed 2 years ago
Closes #113, though I'd still like to improve the story around line numbers and such.
Given:
{ "f": { "message": "{x, bad1}" }, "g": { "message": "{y, bad2}" } }
Before:
$ intlc compile <file> -l <locale> f:1:5: | 1 | {x, bad1} | ^^^^^ unexpected "bad1}" expecting "boolean", "date", "number", "plural", "select", "selectordinal", "time", or white space
After:
$ intlc compile <file> -l <locale> f:1:5: | 1 | {x, bad1} | ^^^^^ unexpected "bad1}" expecting "boolean", "date", "number", "plural", "select", "selectordinal", "time", or white space g:1:5: | 1 | {y, bad2} | ^^^^^ unexpected "bad2}" expecting "boolean", "date", "number", "plural", "select", "selectordinal", "time", or white space
Closes #113, though I'd still like to improve the story around line numbers and such.
Given:
Before:
After: