Update scanner.c
Merge pull request #13 from srujank1/patch-12

Update scanner.c