User Tools

Site Tools


errors

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
errors [2020/02/17 10:05]
adminz created
errors [2020/04/12 10:48] (current)
jtwine
Line 3: Line 3:
  
 ==== Parser Errors ==== ==== Parser Errors ====
-All parser error numbers start with a "​P"​. ​ This list is not exhaustive, ​it will only contain the parser ​errors that I have been able to generate on purpose. ​ But even if the error is not listed here, it should ​be easy to figure out from the error message ​itself.+All parser error numbers start with a "​P"​. ​ This list is not exhaustive, ​and since different ​parser error codes may be emitted with the same underlying ​error message, this list will only list the messages.
  
-^ Number ​^ Text ^ Details ^ +^ Text ^ Details ^ 
-^ P0188: ​^ Byte values must be between 0x00000000 and 0x000000FF (0 and 255) ^ An value was specified that was expected to be within the range of a byte, but exceeded that range. ^+^ Byte values must be between 0x00000000 and 0x000000FF (0 and 255) ^ An value was specified that was expected to be within the range of a byte, but exceeded that range. ^ 
 +^ Syntax error, expected: %%;%% ^ The line in question or the line above it is missing the statement terminator, which is a semicolon, or an invalid character was present in a label or program name.^ 
 +^ Syntax error, expected: DisplayString ^ The ''​Display''​ statement expects a quoted string but something else was provided instead. ^ 
 +^ Strings used in Display and Serial statements cannot be longer than 32\\ printed characters ^ The ''​Display''​ and ''​Serial''​ statements in 10LC limit the string to 32 //printed// characters. ^ 
 +^ Invalid character: %%' " '%% ^ If this error is shown at the start of the quoted string for a ''​Display''​ or ''​Serial''​ statement, it actually means the quoted string contains at least one unsupported character. ^ 
 +^ Syntax error, expected: RegName, Symbol, IntegerValue,​ Not, And, Or,\\  ShiftL, ShiftR, Increment, Decrement, Goto ^ This usually means that an unexpected comparison operator or symbol was encountered in an ''​If''​ expression. ^ 
 +^ Syntax error, expected: SetupBeep, SetupInteractiveErrors,​\\ SetupEnableFL,​ SetupLineSize,​ SetupNewline,​ SetupPod,\\ SetupXOn, SetupXOff, SetupPodTimeout,​ SetupTraps,​\\ Program, EndProgram, Read, Write, WriteCtrl, Learn,\\ Alias, Const, Global, RegName, Symbol, Increment,​\\ Decrement, Execute, SetupMemMap,​ Display, AutoTest, BusTest,\\ LongRAMTest,​ ShortRAMTest,​ ROMTest, IOTest, Not, Ramp, Walk,\\ ToggleAddress,​\\ ReadProbe, ReadTape, WriteTape, ToggleData, ToggleCtrl,​\\ ReadStatus, Stop, RunUUT, LabelMarker,​ Goto, If, Sync, Setup,\\ Delay, Fill, FillRamp, Serial, ShiftL, ShiftR, CompilerDirective,​ Equals, AndEquals, OrEquals, ShiftLEquals,​ ShiftREquals ^ This is a long error saying that you likely doubled a semicolon somewhere or used a keyword/​statement that does not exist in 10LC. ^ 
 +^ Syntax error, expected: Repeat, Loop, ;, Into ^ A statement has an unsupported value in it. ^
  
  
-L0513 Compiled line may be too long for execution ​The 9010A has a limit on how long a single step can be. This limit varies between 35-47 keystrokes depending on the keystrokes used to build the expression +==== Compiler Errors ==== 
-L0514 The SetupPod statement was not specified  ​A statement was encountered ​which requires ​that a Pod be specified. ^ +Error Text ^ Details ^ 
-L0515 The IF expression ​is redundant because ​it always evaluates to TRUE and will be optimized ​An ''​If''​ statement was encountered ​that will always test **true** so it was removed and replaced with the resulting ''​Goto''​ statement +^ L1024 ^ ICE: Unable to find handler ​for <​exp> ​^ This is an Internal Compiler Error that should not occur contact me if it does. ^ 
-L0516 The IF expression ​is redundant because ​it always evaluates to FALSE and will be optimized ​An ''​If''​ statement was encountered ​that will always test **false** so it was removed entirely. ^ +L1025 ICE: Pod name <​name>​ is unknown ^ This is an Internal Compiler Error that should ​not occur - contact me if it does. ^ 
-L0517 The INTO expression ​is redundant because it specifies ​Register ​E as the copy-into ​register ​and will be optimized  ​''​Read'' ​expression used an ''​Into'' ​modifier but specified ​Register E as the register to copy the value into.  ​Register ​E is the register that gets the value from the ''​Read'' ​expression, so there is no need for the additional copy-into step. ^ +^ L1026 ^ ICE: Unexpected operator type <​optype> ​encountered ​for {symbol} ^ This is an Internal Compiler Error that should not occur - contact me if it does. ^ 
-L0517 ^ The INTO expression ​is redundant because it specifies Register C as the copy-into register ​and will be optimized ​ ^ A ''​ReadCtrl''​ expression used an ''​Into''​ modifier but specified ​Register C as the register to copy the value into.  ​Register C is the register that gets the value from the ''​ReadCtrl'' ​expressionso there is no need for the additional copy-into step. ^ +L1027 ICE: Unexpected ​IF operator type {optype} encountered ^ This is an Internal Compiler Error that should not occur - contact me if it does. ^ 
-L0518 ^ Program <ProgramNamecontains defined label <LabelNamewhich was never referenced ^ The specified program ​created ​(definedlabel called ​<LabelNamebut this label was never referenced ​in any ''​Goto'' ​statements in the program. ^ +^ L1028 ^ ICE: No value obtained for resolved Const ^ This is an Internal Compiler Error that should not occur - contact me if it does. ^ 
-L0519 Program ​<ProgramNamecontains ​constant named <ConstNamewhich was never referenced  ​Program <​ProgramName>​ defined ​constant called ​<LabelNamewhich was never referenced ​^  +L1029 ICE: Unexpected ​IF modifier type {modtype} encountered ^ This is an Internal Compiler Error that should not occur - contact me if it does. ^ 
-L0520 Program ​<ProgramNamecontains ​alias named <AliasNamewhich was never referenced  ​^ Program <ProgramNamedefined an alias called ​<AliasName> which was never referenced ^ +^ L1030 ^ ICE: No register obtained for resolved Alias ^ This is an Internal Compiler Error that should not occur - contact me if it does. ^ 
-L0521 ^ The specified ​signature value {0} is greater than 0xFFFF ​(65535)only the 2 least significant bytes will be used A signature value was specified ​on a ''​ROMTest''​ statement, but its value exceeded ​''​0xFFFF''​.  ​Signature values are limited to 16 bits.  ^ +^ L1512 ^ <​value> ​was unexpected, expected a Register or an Alias ^ A value was specified where a register (or an alias) was expected. ^ 
-L0522 ^ The specified ​address <​address>​ may be out of range for the selected pod, whose address limit is <​limit> ​   ​An address was specified ​with a statement ​that may be too large for the address range of the selected Pod's CPU  ^ +L1513 <​name>​ was unexpected, expected a Value or Const ^ A register or alias was specified where a value (or constant) was expected. ^ 
-L0523 ^ The specified ​Force Line Name <​name>​ is too long and will be shorted to <​shortened> ​Force Line names are limited to 6 characters ​in length, and the specified ​name (<​name>​was shortened to <​shortened>​. ^ +^ L1514 ^ <​something>​ was unexpected, expected a Value, Const, Register, Alias or an Expression ^ An unrecognized symbol was specified where a value, constant, register, alias or expression ​was expected. ^ 
-L0524 ^ The list of Force Line Names has a duplicate Name  ​^ ​A duplicate name was specified in the list of Force Line names. ^ +^ L1515 ^ <​something>​ was unexpected, expected a Value, Const, ​Register, or an Alias ^ An unrecognized symbol was specified where a value, constant, ​register, or alias was expected. ^ 
-L0525 ^ A global constant ​named <GlobalNamewas created ​but was never referenced  ​^ A Global Constant was created but was never used in any code. ^ +^ L1516 ^ <​something>​ was unexpected, expected an Expression ^ An unrecognized symbol was specified where an expression. ^ 
-L0526 ^ Program ​<​ProgramName>​ (<​Program#>​) contains no executable code  ​The specified program does not contain any real executable code - it is nothing more than a ''​Program''​ statement. ^ +^ L1517 ^ The Loop option can only be specified once on a statement ​The ''​Loop'' ​execution option can only be specified once on a statement. ^ 
-L0527 Value <HexValue(<DecimalValue>) exceeds the specified CPU's data size  ​^ A value was specified ​in ''​Write''​ statement ​that exceeds ​the word-side of the configured Pod's CPU. ^+^ L1518 ^ The Loop option can only be specified as the last option on a statement (after any Repeat options) ^ The ''​Loop'' ​execution option can only be specified as the last or only option on a statement. ^ 
 +^ L1519 ^ <​value>​ was unexpected as the INTO value; expected a Register ​or an Alias ^ You must specify a Register or an Alias with the INTO version of the ''​Read'' ​statement. ^ 
 +L1520 ^ The symbol <​symbol> ​is unknown ​and could not be identified as a Constant or an Alias ^ You have specified ​a symbol that cannot be found in any of the global or local symbol tables. ^ 
 +^ L1521 ^ The <​statement>​ statement can only be used inside ​the context of a Program ^ In 10LC, certain statements can only be used inside of a Program.  ​This is one of them. ^ 
 +^ L1522 ^ The <​statement>​ statement can only be used outside ​the context of a Program ^ In 10LC, certain statements can only be used outside of a Program. ​ This is one of them.   (If getting this with a ''​Program'' ​statementdid you forget an ''​EndProgram''​ statement?) ^ 
 +^ L1523 ^ A Program named <​name>​ has already been created or referenced ^ A program with the same specified name already exists 
 +L1524 Program ​with number ​<number("<name>") has already been created or referenced ​^ A program with the same specified number already exists. ^ 
 +^ L1525 ^ The specified program ​number is out of range - it must be between 0 and 99 ^ Program numbers on the 9010A between 9 and 99 (in decimal). ^ 
 +^ L1526 ^ The specified ​label <labelalready exists as label number <​number>​ ^ You created a label using a name or number that has already been used by another Label in the program. ^ 
 +^ L1527 ^ An Alias named <​name>​ has already been created ^ A local Alias already exists with the same specified name. ^ 
 +^ L1528 ^ An Constant named <​name>​ has already been created ^ A local Constant already exists with the same specified name. ^ 
 +^ L1529 ^ An Global Constant named <​name>​ has already been created ^ A global Constant already exists with the same specified name. ^ 
 +^ L1530 ^ The display string must be no longer than 32 printable characters ^ In 10LC the strings used with the ''​Display'' ​statement have a //​printable//​ limit of 32 characters. ^ 
 +L1531 A shift count of <valueis invalid; expected ​value from 1 to 32 ^ With shift operations, you can only specify a shift count between 1 and 32. ^ 
 +^ L1532 ^ <value> was unexpected as a bit count; expected a Value or an Constant ​The specified value cannot be used to indicate ​bit count. ^ 
 +^ L1533 ^ Forcing line name <name> was not understood - are you using the correct Pod? ^ You have specified a Forcing Line name that was not found in the configuration of the selected Pod. 
 +L1534 Forcing line number ​<numberwas not understood - are you using the correct Pod? ^ You have specified ​Forcing Line number that was not found in the configuration of the selected Pod. ^ 
 +^ L1535 ^ Only one {modifier} statement is allowed. ^ You can only specify the indicated modifier once. ^ 
 +^ L1536 ^ If specified, the SetupPod statement must be the first statement in a 10LC file ^ Since Pod configuration affects other setup information,​ if you are going to specify a Pod, it must be the first statement present. ^ 
 +^ L1537 ^ <symbolis not a valid compiler directive ^ You have specified something that was not recognized as a valid compiler directive. ^ 
 +^ L1538 ^ Program <namecontains a reference to label <name> which was never defined ^ The specified Program ​referenced ​the specified Label (via a ''​Goto''​ statement) but never defined that label. ​
 +L1539 ^ Compilation stopped because the WarningsAreErrors option is set and a warning was emitted ^ A warning was generated but since the WarningsAreErrors option was set, this stops compilation. ^ 
 +^ L1540 ^ The extended statements are unavailable because the EnableIntrinsicStatements option was not set ^ The EnableIntrinsicStatements option must be set in order to use the extended/​intrinsic statements. ^ 
 +^ L1541 ^ The SetupPod statement has already been specified (possibly in another file^ The ''​SetupPod''​ statement can only be specified once.  ​^ 
 +^ L1542 ^ The SetupBeep statement has already been specified ​(possibly in another file) ^The ''​SetupBeep''​ statement ​can only be specified once.  ^ 
 +^ L1543 ^ The SetupInteractiveErrors statement has already been specified (possibly in another file) ^ The ''​SetupInteractiveErrors'' ​statement can only be specified once.  ​
 +^ L1544 ^ The SetupBusTestAddress statement has already been specified (possibly in another file) ^ The ''​SetupBusTestAddress''​ statement can only be specified once.  ^ 
 +L1545 ^ The SetupRunUUTAddress statement has already been specified ​(possibly in another file) ^ The ''​SetupRunUUTAddress''​ statement can only be specified once.  ​^ 
 +^ L1546 ^ The SetupXOn statement has already been specified ​(possibly in another file) ^ The ''​SetupXOn'' ​statement ​can only be specified once.  ^ 
 +^ L1547 ^ The SetupXOff statement has already been specified (possibly in another file) ^ The ''​SetupXOff''​ statement can only be specified once.  ^ 
 +L1548 ^ The SetupLineSize statement has already been specified ​(possibly in another file) ^ The ''​SetupLineSize''​ statement can only be specified once.  ​^ 
 +^ L1549 ^ The SetupPodTimeout statement has already been specified (possibly ​in another file) ^ The ''​SetupPodTimeout''​ statement can only be specified once.  ^ 
 +^ L1550 ^ The SetupNewline statement has already been specified (possibly in another file^ The ''​SetupNewline''​ statement can only be specified once 
 +L1551 ^ The SetupMaskFLMayBeEnabled statement ​has already been specified (possibly in another file) ^ The ''​SetupMaskFLMayBeEnabled''​ statement can only be specified once.  ^ 
 +^ L1552 ^ The SetupForcingLineNames statement has already been specified ​(possibly ​in another file) ^ The ''​SetupForcingLineNames''​ statement can only be specified once 
 +L1554 ^ A Global Alias named <namehas already been created ^ A global Alias already exists with the same specified name. ^ 
 +L1555 Program ​cannot execute itself ​A Program has an ''​Execute''​ statement ​that references itself and recursive calls are not supported on the 9010A. ^ 
 +L1556 An unescaped ​<charcharacter is followed by <symbolwhich was identified as a const value, not a valid register name or Alias. ​^ A Program has specified a Constant after a special character that expects a Register identifier. ^ 
 +^ L1557 ^ An unescaped <​char>​ character is followed by <​symbol>​ which was not identified as a valid register name or Alias. ^ A Program has specified ​an unknown symbol after special character ​that expects a Register identifier. ^ 
 +^ L1558 ^ There is a limit of 16 Labels per Program ^ A Program can only have 16 labels defined. ^ 
 +^ L1559 ^ There is a limit of 100 Programs ^ Only 100 Programs can be created on the 9010A. ^ 
 +^ L1560 ^ Invalid program number <num> specified ​program numbers have a range of 0 to 99. ^ A Program declaration specified a Program Number but the specified number was out of range. ^ 
 +^ L1561 ^ An unescaped <​char>​ character is followed by whitespace instead of a valid register name or Alias. ^ An unescaped <​char>​ character is followed by whitespace where a Register identifier was expected. ^ 
 +^ L1562 ^ Program <​name>​ was never defined ^ An program named <​name>​ was referenced but was never actually defined. ^ 
  
errors.1581955503.txt.gz · Last modified: 2020/02/17 10:05 by adminz