-
Notifications
You must be signed in to change notification settings - Fork 123
Closed
Description
Testing this Javascript grammar https://github.com/pegjs/pegjs/blob/master/examples/javascript.pegjs converted to peglib I've noticed that peglib doesn't managed single char unicode properly (like shown bellow) because it stores it internally as char without any warning/error, see here
Line 1306 in 527422a
| char ch_; |
char32_t like here Line 1286 in 527422a
| std::vector<std::pair<char32_t, char32_t>> ranges_; |
LineTerminatorSequence #"end of line"
<- "\n"
/ "\r\n"
/ "\r"
/ "\u2028" #silently truncated
/ "\u2029" #silently truncated
Metadata
Metadata
Assignees
Labels
No labels