diff --git a/src/reader.c b/src/reader.c index 6b421782..70fa7d6f 100644 --- a/src/reader.c +++ b/src/reader.c @@ -340,8 +340,12 @@ reader_read_character () c = '\b'; else if (strcmp (buf, "ht") == 0) c = '\t'; + else if (strcmp (buf, "nl") == 0) + c = '\n'; else if (strcmp (buf, "vt") == 0) c = '\v'; + else if (strcmp (buf, "np") == 0) + c = '\f'; else if (strcmp (buf, "cr") == 0) /* Nyacc bug c = '\r'; */