mattunlv / ProcessJ-main-branch-old

ProcessJ Compiler Project
2 stars 4 forks source link

escaped characters #18

Open mattunlv opened 7 years ago

mattunlv commented 7 years ago

proc void foo() { char s = '\uFFFF'; }

generates an error.

cabelshrestha commented 7 years ago

Code in PrimitiveLiteral node converts char value to int value (L39-40). Not sure what needs to be done there. Assigning this to you for now. :P