Difference between revisions of "Papyrus Compiler Errors"
Jump to navigation
Jump to search
m
→Confusing Error Messages: EOF
imported>Jlundin (Created page with "== Format of a Compiler Error == A Papyrus compiler error is structured as follows: <file>(<line>:<column>): <error> Every error line starts with a full path to the file being ...") |
imported>Tunaisafish m (→Confusing Error Messages: EOF) |
||
Line 12: | Line 12: | ||
=== "Missing X at 'Y'" === | === "Missing X at 'Y'" === | ||
The compiler expected X, but found Y instead. This can usually be the result of a misspelled keyword, or malformed line. | The compiler expected X, but found Y instead. This can usually be the result of a misspelled keyword, or malformed line. | ||
=== "Missing EOF at 'Y'" === | |||
A common variation of the above. The literal '''EOF''' refers to a missing '''E'''vent '''O'''r '''F'''unction. This is the result of the compiler finding code statements outside of the scope of a function block. | |||
=== "Mismatched (input/character) 'X' expecting Y === | === "Mismatched (input/character) 'X' expecting Y === |