Permalink
Browse files

remove comments

Signed-off-by: James Rubingh <james@wrive.com>
  • Loading branch information...
1 parent 7df4ab5 commit 38882e1ba274df8f8fbe8dd18d84a8e18b174244 @ephesus committed Jan 25, 2011
Showing with 0 additions and 6 deletions.
  1. +0 −6 lib/pass.c
View
@@ -381,18 +381,13 @@ struct instruction *parse_source(FILE *infile, struct instruction* initial_root,
cur = new_instruction();
if (isblank(buffer[0]) || (buffer[0] == '\n') || (buffer[0] == '#') || (buffer[0] == '.')) {
- /** if the first char is blank, treat as an instruction
- * or a blank line.
- */
-
if (buffer[0] == '#') //make preprocessor directives .<directive>
buffer[0] = '.';
/** split line, get instruction and operands */
if ((buf = (char *) strtok(buffer, whitespace))) {
instructions++;
- /* if first element, point root to it */
if (!inst_root)
inst_root = cur;
@@ -403,7 +398,6 @@ struct instruction *parse_source(FILE *infile, struct instruction* initial_root,
strncpy(cur->mnumonic, buf, MNUMONIC_TXT_LENGTH);
- /* attach any operands we find */
get_operands(cur);
}

1 comment on commit 38882e1

Owner

ephesus commented on 38882e1 Jun 17, 2011

note to self: fix label_root references

Please sign in to comment.