// File: 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
movq %rsp, %rbp
subq $0xd0, %rsp
movl $0x1, -0x4(%rbp)
movq 0x1a0af(%rip), %rdi     # 0x25fc8
leaq 0x123b5(%rip), %rsi     # 0x1e2d5
callq 0x3280
movq %rax, %rdi
movq 0x1a081(%rip), %rsi     # 0x25fb0
callq 0x32b0
movl $0xa, %edi
callq 0xc7a0
movl %eax, -0x8(%rbp)
movl -0x8(%rbp), %esi
movq 0x1a07d(%rip), %rdi     # 0x25fc8
callq 0x3330
movq %rax, %rdi
leaq 0x123c6(%rip), %rsi     # 0x1e320
callq 0x3280
movq %rax, -0x70(%rbp)
movl $0xa, %edi
callq 0xc7a0
movq -0x70(%rbp), %rdi
movl %eax, -0xc(%rbp)
movl -0xc(%rbp), %esi
callq 0x3330
movq %rax, %rdi
leaq 0x123a1(%rip), %rsi     # 0x1e327
callq 0x3280
movq %rax, %rdi
leaq 0x12394(%rip), %rsi     # 0x1e329
callq 0x3280
movq %rax, -0x68(%rbp)
movl $0xa, %edi
callq 0xc7a0
movq -0x68(%rbp), %rdi
movl %eax, -0x10(%rbp)
movl -0x10(%rbp), %esi
callq 0x3330
movq %rax, %rdi
leaq 0x12366(%rip), %rsi     # 0x1e327
callq 0x3280
movq %rax, %rdi
leaq 0x12363(%rip), %rsi     # 0x1e333
callq 0x3280
movq %rax, -0x60(%rbp)
movl $0xa, %edi
callq 0xc7a0
movq -0x60(%rbp), %rdi
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %esi
callq 0x3330
movq %rax, %rdi
leaq 0x1232b(%rip), %rsi     # 0x1e327
callq 0x3280
movq %rax, %rdi
leaq 0x1232f(%rip), %rsi     # 0x1e33a
callq 0x3280
movq %rax, %rdi
movq 0x19f96(%rip), %rsi     # 0x25fb0
callq 0x32b0
movl $0x1, -0x4(%rbp)
movl -0x4(%rbp), %eax
cmpl 0x1cf91(%rip), %eax     # 0x28fc0
jg 0xc16c
movl $0xa, %edi
callq 0xc7a0
movl %eax, -0x18(%rbp)
movl -0x18(%rbp), %esi
movq 0x19f7c(%rip), %rdi     # 0x25fc8
callq 0x3330
movq %rax, %rdi
movslq -0x4(%rbp), %rax
leaq 0x1cf81(%rip), %rsi     # 0x28fe0
imulq $0x38, %rax, %rax
addq %rax, %rsi
addq $0x8, %rsi
callq 0x3260
movq %rax, -0x88(%rbp)
movl $0xa, %edi
callq 0xc7a0
movq -0x88(%rbp), %rdi
movl %eax, -0x1c(%rbp)
movl -0x1c(%rbp), %esi
callq 0x3330
movq %rax, %rdi
leaq 0x1228b(%rip), %rsi     # 0x1e327
callq 0x3280
movq %rax, %rdi
movslq -0x4(%rbp), %rcx
leaq 0x1cf31(%rip), %rax     # 0x28fe0
imulq $0x38, %rcx, %rcx
addq %rcx, %rax
movl (%rax), %esi
callq 0x3440
movq %rax, %rdi
leaq 0x12260(%rip), %rsi     # 0x1e327
callq 0x3280
movq %rax, -0x80(%rbp)
movl $0xa, %edi
callq 0xc7a0
movq -0x80(%rbp), %rdi
movl %eax, -0x20(%rbp)
movl -0x20(%rbp), %esi
callq 0x3330
movq %rax, %rdi
movslq -0x4(%rbp), %rcx
leaq 0x1cee9(%rip), %rax     # 0x28fe0
imulq $0x38, %rcx, %rcx
addq %rcx, %rax
movl 0x28(%rax), %esi
callq 0x3440
movq %rax, %rdi
leaq 0x12217(%rip), %rsi     # 0x1e327
callq 0x3280
movq %rax, -0x78(%rbp)
movl $0xa, %edi
callq 0xc7a0
movq -0x78(%rbp), %rdi
movl %eax, -0x24(%rbp)
movl -0x24(%rbp), %esi
callq 0x3330
movq %rax, %rdi
movslq -0x4(%rbp), %rcx
leaq 0x1cea0(%rip), %rax     # 0x28fe0
imulq $0x38, %rcx, %rcx
addq %rcx, %rax
movl 0x2c(%rax), %esi
callq 0x3440
movq %rax, %rdi
movq 0x19e57(%rip), %rsi     # 0x25fb0
callq 0x32b0
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0xc026
movq 0x19e55(%rip), %rdi     # 0x25fc8
movq 0x19e36(%rip), %rsi     # 0x25fb0
callq 0x32b0
movq %rax, %rdi
movq 0x19e27(%rip), %rsi     # 0x25fb0
callq 0x32b0
movq 0x19e33(%rip), %rdi     # 0x25fc8
leaq 0x121a5(%rip), %rsi     # 0x1e341
callq 0x3280
movq %rax, %rdi
movq 0x19e05(%rip), %rsi     # 0x25fb0
callq 0x32b0
movl $0x14, %edi
callq 0xc7a0
movl %eax, -0x28(%rbp)
movl -0x28(%rbp), %esi
movq 0x19e01(%rip), %rdi     # 0x25fc8
callq 0x3330
movq %rax, %rdi
leaq 0x121b5(%rip), %rsi     # 0x1e38b
callq 0x3280
movq %rax, -0xa0(%rbp)
movl $0x7, %edi
callq 0xc7a0
movq -0xa0(%rbp), %rdi
movl %eax, -0x2c(%rbp)
movl -0x2c(%rbp), %esi
callq 0x3330
movq %rax, %rdi
leaq 0x1211f(%rip), %rsi     # 0x1e327
callq 0x3280
movq %rax, %rdi
leaq 0x1211c(%rip), %rsi     # 0x1e333
callq 0x3280
movq %rax, -0x98(%rbp)
movl $0x7, %edi
callq 0xc7a0
movq -0x98(%rbp), %rdi
movl %eax, -0x30(%rbp)
movl -0x30(%rbp), %esi
callq 0x3330
movq %rax, %rdi
leaq 0x120de(%rip), %rsi     # 0x1e327
callq 0x3280
movq %rax, %rdi
leaq 0x120e2(%rip), %rsi     # 0x1e33a
callq 0x3280
movq %rax, -0x90(%rbp)
movl $0x14, %edi
callq 0xc7a0
movq -0x90(%rbp), %rdi
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %esi
callq 0x3330
movq %rax, %rdi
leaq 0x12096(%rip), %rsi     # 0x1e320
callq 0x3280
movq %rax, %rdi
movq 0x19d17(%rip), %rsi     # 0x25fb0
callq 0x32b0
movl $0x1, -0x4(%rbp)
movl -0x4(%rbp), %eax
cmpl 0x1cd1a(%rip), %eax     # 0x28fc8
jg 0xc3ea
movl $0x14, %edi
callq 0xc7a0
movl %eax, -0x38(%rbp)
movl -0x38(%rbp), %esi
movq 0x19cfd(%rip), %rdi     # 0x25fc8
callq 0x3330
movq %rax, %rdi
movslq -0x4(%rbp), %rax
leaq 0xa5882(%rip), %rsi     # 0xb1b60
imulq $0x50, %rax, %rax
addq %rax, %rsi
addq $0x28, %rsi
callq 0x3260
movq %rax, -0xb8(%rbp)
movl $0x7, %edi
callq 0xc7a0
movq -0xb8(%rbp), %rdi
movl %eax, -0x3c(%rbp)
movl -0x3c(%rbp), %esi
callq 0x3330
movq %rax, %rdi
leaq 0x1200c(%rip), %rsi     # 0x1e327
callq 0x3280
movq %rax, %rdi
movslq -0x4(%rbp), %rcx
leaq 0xa5832(%rip), %rax     # 0xb1b60
imulq $0x50, %rcx, %rcx
addq %rcx, %rax
movl 0x48(%rax), %esi
callq 0x3440
movq %rax, -0xb0(%rbp)
movl $0x7, %edi
callq 0xc7a0
movq -0xb0(%rbp), %rdi
movl %eax, -0x40(%rbp)
movl -0x40(%rbp), %esi
callq 0x3330
movq %rax, %rdi
leaq 0x11fbd(%rip), %rsi     # 0x1e327
callq 0x3280
movq %rax, %rdi
movslq -0x4(%rbp), %rcx
leaq 0xa57e3(%rip), %rax     # 0xb1b60
imulq $0x50, %rcx, %rcx
addq %rcx, %rax
movl 0x4c(%rax), %esi
callq 0x3440
movq %rax, -0xa8(%rbp)
movl $0x14, %edi
callq 0xc7a0
movq -0xa8(%rbp), %rdi
movl %eax, -0x44(%rbp)
movl -0x44(%rbp), %esi
callq 0x3330
movq %rax, %rdi
movslq -0x4(%rbp), %rax
leaq 0xa57a3(%rip), %rsi     # 0xb1b60
imulq $0x50, %rax, %rax
addq %rax, %rsi
addq $0x8, %rsi
callq 0x3260
movq %rax, %rdi
movq 0x19bd9(%rip), %rsi     # 0x25fb0
callq 0x32b0
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0xc2a5
movq 0x19bd7(%rip), %rdi     # 0x25fc8
leaq 0x11f9a(%rip), %rsi     # 0x1e392
callq 0x3280
movq %rax, %rdi
movq 0x19ba9(%rip), %rsi     # 0x25fb0
callq 0x32b0
movq 0x19bb5(%rip), %rdi     # 0x25fc8
leaq 0x11fc5(%rip), %rsi     # 0x1e3df
callq 0x3280
movq %rax, %rdi
leaq 0x11fc4(%rip), %rsi     # 0x1e3ed
callq 0x3280
movq %rax, %rdi
leaq 0x11fc2(%rip), %rsi     # 0x1e3fa
callq 0x3280
movq %rax, %rdi
leaq 0x11fbf(%rip), %rsi     # 0x1e406
callq 0x3280
movq %rax, %rdi
movq 0x19b5a(%rip), %rsi     # 0x25fb0
callq 0x32b0
movl $0x1, -0x48(%rbp)
movl -0x48(%rbp), %eax
cmpl 0x1cb65(%rip), %eax     # 0x28fd0
jg 0xc586
movl $0xa, %edi
callq 0xc7a0
movl %eax, -0x4c(%rbp)
movl -0x4c(%rbp), %esi
movq 0x19b40(%rip), %rdi     # 0x25fc8
callq 0x3330
movq %rax, %rdi
movslq -0x48(%rbp), %rcx
leaq 0xa7605(%rip), %rax     # 0xb3aa0
shlq $0x4, %rcx
addq %rcx, %rax
movl (%rax), %esi
callq 0x3440
movq %rax, -0xd0(%rbp)
movl $0xa, %edi
callq 0xc7a0
movq -0xd0(%rbp), %rdi
movl %eax, -0x50(%rbp)
movl -0x50(%rbp), %esi
callq 0x3330
movq %rax, %rdi
movslq -0x48(%rbp), %rcx
leaq 0xa75c6(%rip), %rax     # 0xb3aa0
shlq $0x4, %rcx
addq %rcx, %rax
movl 0x4(%rax), %esi
callq 0x3440
movq %rax, -0xc8(%rbp)
movl $0xa, %edi
callq 0xc7a0
movq -0xc8(%rbp), %rdi
movl %eax, -0x54(%rbp)
movl -0x54(%rbp), %esi
callq 0x3330
movq %rax, %rdi
movslq -0x48(%rbp), %rcx
leaq 0xa7586(%rip), %rax     # 0xb3aa0
shlq $0x4, %rcx
addq %rcx, %rax
movl 0x8(%rax), %esi
callq 0x3440
movq %rax, -0xc0(%rbp)
movl $0xa, %edi
callq 0xc7a0
movq -0xc0(%rbp), %rdi
movl %eax, -0x58(%rbp)
movl -0x58(%rbp), %esi
callq 0x3330
movq %rax, %rdi
movslq -0x48(%rbp), %rcx
leaq 0xa7546(%rip), %rax     # 0xb3aa0
shlq $0x4, %rcx
addq %rcx, %rax
movl 0xc(%rax), %esi
callq 0x3440
movq %rax, %rdi
movq 0x19a3d(%rip), %rsi     # 0x25fb0
callq 0x32b0
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0xc462
movq 0x19a3b(%rip), %rdi     # 0x25fc8
leaq 0x11e79(%rip), %rsi     # 0x1e40d
callq 0x3280
movq %rax, %rdi
movq 0x19a0d(%rip), %rsi     # 0x25fb0
callq 0x32b0
movq %rax, %rdi
movq 0x199fe(%rip), %rsi     # 0x25fb0
callq 0x32b0
movq 0x19a0a(%rip), %rdi     # 0x25fc8
leaq 0x11e95(%rip), %rsi     # 0x1e45a
callq 0x3280
movq %rax, %rdi
movl 0x19ca5(%rip), %esi     # 0x26278
callq 0x3440
movq %rax, %rdi
movq 0x199ce(%rip), %rsi     # 0x25fb0
callq 0x32b0
movq 0x199da(%rip), %rdi     # 0x25fc8
leaq 0x11e70(%rip), %rsi     # 0x1e465
callq 0x3280
movq %rax, %rdi
movl 0x1c9bd(%rip), %esi     # 0x28fc0
callq 0x3440
movq %rax, %rdi
movq 0x1999e(%rip), %rsi     # 0x25fb0
callq 0x32b0
movq 0x199aa(%rip), %rdi     # 0x25fc8
leaq 0x11e4e(%rip), %rsi     # 0x1e473
callq 0x3280
movq %rax, %rdi
movl 0x1c995(%rip), %esi     # 0x28fc8
callq 0x3440
movq %rax, %rdi
movq 0x1996e(%rip), %rsi     # 0x25fb0
callq 0x32b0
movq 0x1997a(%rip), %rdi     # 0x25fc8
leaq 0x11e2c(%rip), %rsi     # 0x1e481
callq 0x3280
movq %rax, %rdi
movl 0x1c961(%rip), %esi     # 0x28fc4
callq 0x3440
movq %rax, %rdi
movq 0x1993e(%rip), %rsi     # 0x25fb0
callq 0x32b0
addq $0xd0, %rsp
popq %rbp
retq