~pixelherodev/zyg

b0d3a151eff58072826cad187bafd48f0ce511ff — Noam Preil 5 months ago 902458d
[lexer] oops.
1 files changed, 6 insertions(+), 6 deletions(-)

M lexer.c
M lexer.c => lexer.c +6 -6
@@ 423,18 423,18 @@ zyg_lex(char *path)
		}else if(c == '&'){
			ctx.token.tag = C3_AMPERSAND;
			ctx.index += 1;
		}else if(c == '+'){
			ctx.token.tag = C3_PLUS;
			ctx.index += 1;
		}else if(c == '-'){
			ctx.token.tag = C3_MINUS;
			ctx.index += 1;
		}else if(ARG("+=", 2)){
			ctx.index += 2;
			ctx.token.tag = C3_PLUS_EQUAL;
		}else if(ARG("-=", 2)){
			ctx.index += 2;
			ctx.token.tag = C3_MINUS_EQUAL;
		}else if(c == '+'){
			ctx.token.tag = C3_PLUS;
			ctx.index += 1;
		}else if(c == '-'){
			ctx.token.tag = C3_MINUS;
			ctx.index += 1;
		}else if(c == '!'){
			ctx.token.tag = C3_EXCLAIM;
			ctx.index += 1;