I'm writing a simple verilog code, having little trouble
The octal \037777777640 values shown in the error appear to be interpretations of no-break spaces (which might come from copy-and-pasting from the web, for example). NBSP has a Hex value of 0xA0, which would equate to the octal values you’re seeing.

Try deleting all of your spaces and retyping them.