oftn-oswg / coca

An implementation of C in JavaScript.
Other
10 stars 3 forks source link

Wide string literals and character constants need to be recognized #9

Closed dsamarin closed 13 years ago

dsamarin commented 13 years ago

If a string literal or character constant is preceded by the capital letter L, as in L"Hello, world" and L'a', then they need to be recognized as such. In that case, read_string_literal or read_character_constant should have true be passed as its first (and only) argument.