From 5f86a59e1f090d85e60815e751fe0667b4910da4 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Mon, 18 Oct 2021 12:03:01 -0400 Subject: Skip DECKP* in lexer --- bin/shotty.l | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'bin') diff --git a/bin/shotty.l b/bin/shotty.l index b8c04f52..ab1ce202 100644 --- a/bin/shotty.l +++ b/bin/shotty.l @@ -45,8 +45,6 @@ X(CUP) \ X(CUU) \ X(DCH) \ - X(DECKPAM) \ - X(DECKPNM) \ X(DECRC) \ X(DECRST) \ X(DECSC) \ @@ -132,8 +130,8 @@ ESC \x1B {ESC}7 return DECSC; {ESC}8 return DECRC; -{ESC}= return DECKPAM; -{ESC}> return DECKPNM; +{ESC}= // DECKPAM +{ESC}> // DECKPNM {ESC}M return RI; {ESC}"(0" g0 = DECSpecial; @@ -425,10 +423,7 @@ static void update(enum Code cc) { x = bound(0, x+w, (mode & Wrap ? cols : cols-1)); return; } - break; case MC:; - break; case DECKPAM:; - break; case DECKPNM:; } x = bound(0, x, cols-1); -- cgit 1.4.1