// File: /workspace/github_cpp_makefile_star2_O1/Davidc2525[P]Leaf/parser/Parser.cpp
// Function: Errors::printMsg(int, int, wchar_t const*)
void Errors::printMsg(int line, int col, const wchar_t *s){
	string buff = "";
	int b,li;
	li = 1;
	scanner->buffer->SetPos(0);
	while(true){
	
		b =  scanner->buffer->Read(); 
		if(b == scanner->buffer->EoF)
		 	break;
		else{
			buff.append(string((char*)&b));
			if(b==10){

			
				if(li==line){

						printf(" <-- linea %d columna %d: %ls\n", line, col, s);

				}
				if(li >= line-2 && li <= line+2)
					cout<<endl;
				
				li++;
			}else{
				if(li >= line-2 && li <= line+2)
					cout<<(char)b;
			}
		}
	}
	
			
	//printf("%ls\n",	scanner->buffer->GetString(scanner->buffer->GetPos()-(line+col),scanner->buffer->GetPos()+(line+col)));
	
	//cout<<buff<<endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rcx, 0x58(%rsp)
movl %edx, 0x10(%rsp)
movl %esi, %ebx
movq %rdi, %r15
leaq 0x48(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0xc631(%rip), %rdx      # 0x1ad27
leaq 0x38(%rsp), %rdi
movq %rdx, %rsi
callq 0x84ba
movq 0x8(%r15), %rax
movq 0x98(%rax), %rdi
movq (%rdi), %rax
xorl %esi, %esi
callq *0x38(%rax)
leaq 0x28(%rsp), %r14
leal -0x2(%rbx), %ebp
movq %rbx, 0x60(%rsp)
leal 0x2(%rbx), %ecx
movl $0x1, %eax
leaq 0x8(%rsp), %r12
leaq 0x18(%rsp), %r13
leaq 0x38(%rsp), %rbx
movl %ebp, 0x14(%rsp)
movl %ecx, 0xc(%rsp)
cmpl %ebp, %eax
movl %eax, %edx
setl %al
movl %edx, 0x4(%rsp)
cmpl %ecx, %edx
setg %bpl
orb %al, %bpl
movq 0x8(%r15), %rax
movq 0x98(%rax), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movl %eax, 0x8(%rsp)
cmpl $0x10000, %eax          # imm = 0x10000
je 0xe869
movq %r14, 0x18(%rsp)
movq %r12, %rdi
callq 0x5120
leaq (%rsp,%rax), %rdx
addq $0x8, %rdx
movq %r13, %rdi
movq %r12, %rsi
callq 0x84ba
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq %rbx, %rdi
callq 0x50f0
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0xe7bf
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x52a0
movl 0x8(%rsp), %eax
cmpl $0xa, %eax
je 0xe7ea
testb %bpl, %bpl
jne 0xe756
movb %al, 0x18(%rsp)
movl $0x1, %edx
movq 0x177fb(%rip), %rdi     # 0x25fd8
movq %r13, %rsi
callq 0x5300
jmp 0xe756
movq 0x60(%rsp), %rsi
movl 0x4(%rsp), %eax
cmpl %esi, %eax
jne 0xe812
leaq 0xb4e5(%rip), %rdi      # 0x19ce3
movl 0x10(%rsp), %edx
movq 0x58(%rsp), %rcx
xorl %eax, %eax
callq 0x5070
movl 0x4(%rsp), %eax
movl 0x14(%rsp), %ebp
cmpl %ebp, %eax
movl %eax, %ecx
setl %al
cmpl 0xc(%rsp), %ecx
setg %cl
orb %al, %cl
jne 0xe85a
movq 0x177a9(%rip), %rcx     # 0x25fd8
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x5260
movsbl %al, %esi
movq 0x1778b(%rip), %rdi     # 0x25fd8
callq 0x5050
movq %rax, %rdi
callq 0x51a0
movl 0x4(%rsp), %eax
incl %eax
movl 0xc(%rsp), %ecx
jmp 0xe742
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0xe885
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x52a0
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xe8b6
jmp 0xe8b6
jmp 0xe8b6
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0xe8b9
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x52a0
jmp 0xe8b9
movq %rax, %rbx
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0xe8d5
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x52a0
movq %rbx, %rdi
callq 0x5470
nop