commit c1d4dfe2d717b53419b21dc403472c034d5eac34
parent 2a36fc258f74e6abf5462a83bbf1d13d99ed0a1f
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sun, 29 Nov 2015 21:47:53 +0100
Add more TODO and FIXME to the code
Diffstat:
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/ed.c b/ed.c
@@ -343,6 +343,15 @@ address(int *line)
 {
 	int ln, sign, c, num;
 
+	/*
+	 * FIXME:we are getting the full line using
+	 *       a function that deals with escape
+	 *       character, and it means that it
+	 *       will remove the escape characters
+	 *       in the address, transforming
+	 *       /\// into ///, which will produce an
+	 *       error.
+	 */
 	if (!getnum(&ln))
 		return 0;
 
@@ -919,7 +928,7 @@ readcmd(int isglobal)
 	if (isglobal) {
 		if ((c = getchar()) == '&') {
 			if (getchar() != '\n')
-				error("");
+				error(""); /* TODO: what error? */
 			cmdp = buf;
 		}
 	}