errors
Table of Contents
Errors
Here is the list of errors that can be emitted by 10LC, along with additional details about each one.
Parser Errors
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.
Text | Details |
---|---|
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. |
Compiler Errors
Error | Text | Details |
---|---|---|
L1024 | ICE: Unable to find handler for <exp> | This is an Internal Compiler Error that should not occur - contact me if it does. |
L1025 | ICE: Pod name <name> is unknown | This is an Internal Compiler Error that should not occur - contact me if it does. |
L1026 | ICE: Unexpected operator type <optype> encountered for {symbol} | This is an Internal Compiler Error that should not occur - contact me if it does. |
L1027 | ICE: Unexpected IF operator type {optype} encountered | This is an Internal Compiler Error that should not occur - contact me if it does. |
L1028 | ICE: No value obtained for resolved Const | This is an Internal Compiler Error that should not occur - contact me if it does. |
L1029 | ICE: Unexpected IF modifier type {modtype} encountered | This is an Internal Compiler Error that should not occur - contact me if it does. |
L1030 | ICE: No register obtained for resolved Alias | This is an Internal Compiler Error that should not occur - contact me if it does. |
L1512 | <value> was unexpected, expected a Register or an Alias | A value was specified where a register (or an alias) was expected. |
L1513 | <name> was unexpected, expected a Value or Const | A register or alias was specified where a value (or constant) was expected. |
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. |
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. |
L1516 | <something> was unexpected, expected an Expression | An unrecognized symbol was specified where an expression. |
L1517 | The Loop option can only be specified once on a statement | The Loop execution option can only be specified once on a statement. |
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 statement, did 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 | A 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 <label> already 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 <value> is invalid; expected a 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 a 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 <number> was not understood - are you using the correct Pod? | You have specified a 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 | <symbol> is not a valid compiler directive | You have specified something that was not recognized as a valid compiler directive. |
L1538 | Program <name> contains 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 <name> has already been created | A global Alias already exists with the same specified name. |
L1555 | A 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 <char> character is followed by <symbol> which 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 a 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.txt · Last modified: 2020/04/12 10:48 by jtwine