// File: /workspace/github_cpp_makefile_star2_O2/zhengwangsun[P]pas2c/lex.cpp
// Function: printResult()
void printResult(void){
	int j=1;
    cout<<"******************************记号流***********************************"<<endl; 
	cout<<setw(10)<<"内容"<<setw(10)<<"\t"<<"种别码"<<setw(10)<<"\t"<<"行号"<<setw(10)<<"\t"<<"列号"<<endl;
	 
    for(j=1;j<=token_count;j++)
    {
    	cout<<setw(10)<<token[j].value<<setw(10)<<"\t"<<token[j].type<<"\t"<<setw(10)<<token[j].line<<"\t"<<setw(10)<<token[j].col<<endl;
    }
    cout<<endl<<endl;
    
    cout<<"********************************错误表********************************"<<endl; 
	cout<<setw(20)<<"描述"<<setw(7)<<"\t"<<"行号"<<setw(7)<<"\t"<<"列号"<<setw(20)<<"内容"<<endl;
	 
    for(j=1;j<=lex_error_count;j++)
    {
    	cout<<setw(20)<<lex_error[j].description<<setw(7)<<"\t"<<lex_error[j].line<<setw(7)<<"\t"<<lex_error[j].col<<setw(20)<<lex_error[j].value<<endl;
    }
    
    cout<<"*******************************注释信息*********************************"<<endl;
    cout<<"startLine    "<<"startCol    "<<"endLine    "<<"endCol"<<endl;
    for(int i=1;i<=note_count;i++) 
    {
    	cout<<setw(10)<<note[i].start_line<<setw(10)<<note[i].start_col<<setw(10)<<note[i].end_line<<setw(10)<<note[i].end_col<<endl;
    }
	 
	 
    cout<<"*******************************统计结果*********************************"<<endl<<endl;
	cout<<"总行数:"<<line<<endl;
	cout<<"总记号数:"<<token_count<<endl;
	cout<<"总错误数:"<<lex_error_count<<endl; 
	cout<<"总字符数:"<<char_count<<endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0xe505(%rip), %rbx      # 0x13fd0
leaq 0x887f(%rip), %rsi      # 0xe351
movq %rbx, %rdi
callq 0x21d0
movq %rax, %rdi
callq 0x20f0
movq (%rbx), %rax
movq -0x18(%rax), %rax
pushq $0xa
popq %r12
movq %r12, 0x10(%rbx,%rax)
leaq 0x88a3(%rip), %rsi      # 0xe39c
movq %rbx, %rdi
callq 0x21d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %r12, 0x10(%rax,%rcx)
leaq 0x888f(%rip), %r14      # 0xe3a3
movq %rax, %rdi
movq %r14, %rsi
callq 0x21d0
leaq 0x887f(%rip), %rsi      # 0xe3a5
movq %rax, %rdi
callq 0x21d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %r12, 0x10(%rax,%rcx)
movq %rax, %rdi
movq %r14, %rsi
callq 0x21d0
leaq 0x8863(%rip), %rsi      # 0xe3af
movq %rax, %rdi
callq 0x21d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %r12, 0x10(%rax,%rcx)
movq %rax, %rdi
movq %r14, %rsi
callq 0x21d0
leaq 0x8844(%rip), %rsi      # 0xe3b6
movq %rax, %rdi
callq 0x21d0
movq %rax, %rdi
callq 0x20f0
pushq $0x1
popq %r15
leaq 0x11417(%rip), %r13     # 0x16fa4
movslq 0x1138c(%rip), %rax     # 0x16f20
cmpq %rax, %r15
jg 0x5c32
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %r12, 0x10(%rbx,%rax)
leaq -0x24(%r13), %rsi
movq %rbx, %rdi
callq 0x21c0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %r12, 0x10(%rax,%rcx)
movq %rax, %rdi
movq %r14, %rsi
callq 0x21d0
movl -0x2c(%r13), %esi
movq %rax, %rdi
callq 0x2320
movq %rax, %rdi
movq %r14, %rsi
callq 0x21d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %r12, 0x10(%rax,%rcx)
movl -0x4(%r13), %esi
movq %rax, %rdi
callq 0x2320
movq %rax, %rdi
movq %r14, %rsi
callq 0x21d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %r12, 0x10(%rax,%rcx)
movl (%r13), %esi
movq %rax, %rdi
callq 0x2320
movq %rax, %rdi
callq 0x20f0
incq %r15
addq $0x38, %r13
jmp 0x5b8d
movq %rbx, %rdi
callq 0x20f0
movq %rax, %rdi
callq 0x20f0
leaq 0x8774(%rip), %rsi      # 0xe3bd
movq %rbx, %rdi
callq 0x21d0
movq %rax, %rdi
callq 0x20f0
movq (%rbx), %rax
movq -0x18(%rax), %rax
pushq $0x14
popq %r15
movq %r15, 0x10(%rbx,%rax)
leaq 0x8797(%rip), %rsi      # 0xe407
movq %rbx, %rdi
callq 0x21d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
pushq $0x7
popq %r13
movq %r13, 0x10(%rax,%rcx)
leaq 0x8714(%rip), %r14      # 0xe3a3
movq %rax, %rdi
movq %r14, %rsi
callq 0x21d0
leaq 0x870e(%rip), %rsi      # 0xe3af
movq %rax, %rdi
callq 0x21d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %r13, 0x10(%rax,%rcx)
movq %rax, %rdi
movq %r14, %rsi
callq 0x21d0
leaq 0x86ef(%rip), %rsi      # 0xe3b6
movq %rax, %rdi
callq 0x21d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %r15, 0x10(%rax,%rcx)
leaq 0x86ba(%rip), %rsi      # 0xe39c
movq %rax, %rdi
callq 0x21d0
movq %rax, %rdi
callq 0x20f0
pushq $0x1
popq %r13
leaq 0x99e1b(%rip), %r15     # 0x9fb18
pushq $0x14
popq %rbp
pushq $0x7
popq %r14
movslq 0x1121d(%rip), %rax     # 0x16f28
cmpq %rax, %r13
jg 0x5dae
movq 0xe2b5(%rip), %rdi      # 0x13fd0
movq (%rdi), %rax
movq -0x18(%rax), %rax
movq %rbp, 0x10(%rdi,%rax)
leaq 0x20(%r15), %rsi
callq 0x21c0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %r14, 0x10(%rax,%rcx)
movq %rax, %rdi
movq %r12, %rbx
leaq 0x865a(%rip), %r12      # 0xe3a3
movq %r12, %rsi
callq 0x21d0
movl 0x40(%r15), %esi
movq %rax, %rdi
callq 0x2320
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %r14, 0x10(%rax,%rcx)
movq %rax, %rdi
movq %r12, %rsi
movq %rbx, %r12
callq 0x21d0
movl 0x44(%r15), %esi
movq %rax, %rdi
callq 0x2320
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %rbp, 0x10(%rax,%rcx)
movq %rax, %rdi
movq %r15, %rsi
callq 0x21c0
movq %rax, %rdi
callq 0x20f0
incq %r13
addq $0x50, %r15
jmp 0x5d04
leaq 0x8659(%rip), %rsi      # 0xe40e
movq 0xe214(%rip), %rbx      # 0x13fd0
movq %rbx, %rdi
callq 0x21d0
movq %rax, %rdi
callq 0x20f0
leaq 0x8688(%rip), %rsi      # 0xe45b
movq %rbx, %rdi
callq 0x21d0
leaq 0x8687(%rip), %rsi      # 0xe469
movq %rax, %rdi
callq 0x21d0
leaq 0x8685(%rip), %rsi      # 0xe476
movq %rax, %rdi
callq 0x21d0
leaq 0x8682(%rip), %rsi      # 0xe482
movq %rax, %rdi
callq 0x21d0
movq %rax, %rdi
callq 0x20f0
pushq $0x1
popq %r14
leaq 0x9bc01(%rip), %r15     # 0xa1a1c
movslq 0x1110e(%rip), %rax     # 0x16f30
cmpq %rax, %r14
jg 0x5e97
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %r12, 0x10(%rbx,%rax)
movl -0xc(%r15), %esi
movq %rbx, %rdi
callq 0x2320
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %r12, 0x10(%rax,%rcx)
movl -0x8(%r15), %esi
movq %rax, %rdi
callq 0x2320
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %r12, 0x10(%rax,%rcx)
movl -0x4(%r15), %esi
movq %rax, %rdi
callq 0x2320
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %r12, 0x10(%rax,%rcx)
movl (%r15), %esi
movq %rax, %rdi
callq 0x2320
movq %rax, %rdi
callq 0x20f0
incq %r14
addq $0x10, %r15
jmp 0x5e1b
movq 0xe132(%rip), %rbx      # 0x13fd0
leaq 0x85e4(%rip), %rsi      # 0xe489
movq %rbx, %rdi
callq 0x21d0
movq %rax, %rdi
callq 0x20f0
movq %rax, %rdi
callq 0x20f0
leaq 0x8612(%rip), %rsi      # 0xe4d6
movq %rbx, %rdi
callq 0x21d0
movl 0xe306(%rip), %esi      # 0x141d8
movq %rax, %rdi
callq 0x2320
movq %rax, %rdi
callq 0x20f0
leaq 0x85f8(%rip), %rsi      # 0xe4e1
movq %rbx, %rdi
callq 0x21d0
movl 0x11029(%rip), %esi     # 0x16f20
movq %rax, %rdi
callq 0x2320
movq %rax, %rdi
callq 0x20f0
leaq 0x85e1(%rip), %rsi      # 0xe4ef
movq %rbx, %rdi
callq 0x21d0
movl 0x1100c(%rip), %esi     # 0x16f28
movq %rax, %rdi
callq 0x2320
movq %rax, %rdi
callq 0x20f0
leaq 0x85ca(%rip), %rsi      # 0xe4fd
movq %rbx, %rdi
callq 0x21d0
movl 0x10fe3(%rip), %esi     # 0x16f24
movq %rax, %rdi
callq 0x2320
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x20f0
nop