Difference between revisions of "Papyrus Compiler Errors"
Undo revision 5068 by Cdcooley (talk) That was supposed to be for Skyrim!
imported>Middknight (Add the two most common errors when Scripts.rar hasn't been unpacked properly.) |
imported>Middknight |
||
Line 9: | Line 9: | ||
== Confusing Error Messages == | == Confusing Error Messages == | ||
Most error messages should be relatively self-explanatory, but some may confuse people. Potentially confusing errors are explained below: | Most error messages should be relatively self-explanatory, but some may confuse people. Potentially confusing errors are explained below: | ||
=== "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. | ||
=== "Mismatched (input/character) 'X' expecting Y | === "Mismatched (input/character) 'X' expecting Y === | ||
The compiler expected Y, but found X instead. This is usually the the result of a malformed line or misspelled keyword. | The compiler expected Y, but found X instead. This is usually the the result of a malformed line or misspelled keyword. | ||
=== "No viable alternative at input 'X' | === "No viable alternative at input 'X' === | ||
The compiler didn't expect X, and so cannot compile the element. Usually the result of a malformed line or missing parts. | The compiler didn't expect X, and so cannot compile the element. Usually the result of a malformed line or missing parts. | ||