Skip to content
  1. Sep 22, 2020
    • Rui Ueyama's avatar
      Accept multibyte character as wide character literal · cc2632fb
      Rui Ueyama authored
      On most Unix-like systems, wide character literal is 32-bit long
      and encodes a Unicode code point. On Windows, that is 16-bit
      long and encodes a UTF-16 code unit. Clearly, there's a portability
      issue here. Personally I've never used wide characters in my code
      as I didn't find it useful.
      
      Being said that, some header files contain wide character literal,
      so we need to support that so that chibicc can include such files.
      
      We assume that source files are always encoded in UTF-8.
      cc2632fb
    • Rui Ueyama's avatar
      Add \u and \U escape sequences · ee9d76b2
      Rui Ueyama authored
      ee9d76b2