Commits

Steven! Ragnarök committed c6c5965

Chomp input from files.

Comments (0)

Files changed (1)

 			if (strstr(lsbuffer, fileext) != NULL) {
 				source_file = fopen(chomp(lsbuffer), "r");
 				while(fgets(sourcebuffer, MAX_STRING_LENGTH, source_file) != NULL) {
-					tokens = tokenize(sourcebuffer);
+					tokens = tokenize(chomp(sourcebuffer));
 					interpret(parse());
 				}
 			}