Use parser.check(&token::Eof) rather than .eat().
Use parser.check(&token::Eof) rather than .eat().

.eat() will eat a token at *any* position in the input, and there's always an EOF,
so the loop that was meant to loop over all the arguments was instead always terminating
after the first one.

parser.check(&token::Eof) returns true iff the *next* token is EOF, which is what we want.

rust-lang/rust-bindgen,japaric/rust-bindgen,tempbottle/rust-bindgen,bsteinb/rust-bindgen,catdesk/rust-bindgen,emilio/rust-bindgen,rust-lang/rust-bindgen,alexander255/rust-bindgen,jdub/rust-bindgen,japaric/rust-bindgen,alexander255/rust-bindgen,erezny/rust-bindgen,tschneidereit/rust-bindgen,emilio/rust-bindgen,erickt/rust-bindgen,tschneidereit/rust-bindgen,jdub/rust-bindgen,Twinklebear/rust-bindgen,beni55/rust-bindgen,bsteinb/rust-bindgen,evadnoob/rust-bindgen,evadnoob/rust-bindgen,Twinklebear/rust-bindgen,bsteinb/rust-bindgen,catdesk/rust-bindgen,Kintaro/rust-bindgen,RAOF/rust-bindgen,irauta/rust-bindgen,emilio/rust-bindgen,rust-lang/rust-bindgen,Twinklebear/rust-bindgen,irauta/rust-bindgen,rust-lang/rust-bindgen,erezny/rust-bindgen,erickt/rust-bindgen,emilio/rust-bindgen,emilio/rust-bindgen,alexander255/rust-bindgen,Kintaro/rust-bindgen,beni55/rust-bindgen,jdub/rust-bindgen,jdub/rust-bindgen,RAOF/rust-bindgen,catdesk/rust-bindgen,tempbottle/rust-bindgen,catdesk/rust-bindgen,Twinklebear/rust-bindgen