mnbujold / c415-compiler

Fall 2012 CMPUT 415 Compiler Course
0 stars 3 forks source link

Escape Characters #11

Closed James-Osgood closed 11 years ago

James-Osgood commented 11 years ago

As per the discussion in class today, we need to be able to escape any characters and (I think) let the interpreter deal with what those symbols mean.

Test these changes on the cp1/21.pal test program.

dchui1 commented 11 years ago

I took a peek at the regex, and it looks fine to me. Does the test fail?

James-Osgood commented 11 years ago

Yes, the test fails. It seems to fail especially (only?) at single quotes (').

dchui1 commented 11 years ago

Should be fixed now