shithub: scc

Download patch

ref: 38facfca8aa664d42ad922e059ecfb07e1bf7ef8
parent: fb65fca0b3c45ded10eaac0d5d0b1a83d7ab9c66
author: Roberto E. Vargas Caballero <[email protected]>
date: Tue Apr 15 13:27:43 EDT 2014

Add comments about features not implemented

These features must be implemented later.

--- a/expr.c
+++ b/expr.c
@@ -336,6 +336,7 @@
 		np = constcode(yylval.sym);
 		next();
 		break;
+	/* TODO: case STRING: */
 	case '(':
 		next();
 		np = expr();
@@ -366,6 +367,9 @@
 			np1 = incdec(np1,  (yytoken == INC) ? OPINC : OPDEC);
 			next();
 			break;
+		/* TODO: case '.': */
+		/* TODO: case INDIR: */
+		/* TODO: case '(' */
 		default:
 			return np1;
 		}