Closed Feoramund closed 2 days ago
Better. I'm getting the error message now.
W:\Odin\bug>build
W:/Odin/bug/bug.odin(4:7) Syntax Error: Failed to parse file: W:/Odin/bug/bug; invalid token found in file
^
Error 1
Where build.bat
@echo off
odin run bug.odin -file -vet -strict-style
IF %ERRORLEVEL% NEQ 0 (
echo Error %ERRORLEVEL%
)
Here's a minimal program to test. Note the space between the
0x
and1
.And the error it reports (or would, if the issue that #3753 fixes wasn't stopping it):
I'm assuming "invalid token" hints at a deeper issue here, since the compiler fails to display what the token is. It does give me a line and column though, which was helpful. I ran into this issue with a file full of hex tables.