From 21ef207889122448cf008accb688b118d987da79 Mon Sep 17 00:00:00 2001 From: Ken Thompson Date: Fri, 29 Aug 2008 13:24:53 -0700 Subject: fix type of (1<op != OLITERAL || t == T) + if(n == N || t == T) return; - + switch(n->op) { + default: + return; + case OLITERAL: + break; + case OLSH: + case ORSH: + convlit(n->left, t); + n->type = n->left->type; + return; + } et = t->etype; switch(whatis(n)) { default: -- cgit v1.2.3