errors
This is an old revision of the document!
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, 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 simply 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 | D |
L1520 | The symbol <symbol> is unknown and could not be identified as a Constant or an Alias | D |
L1521 | The <statement> statement can only be used inside the context of a Program | D |
L1522 | The <statement> statement can only be used outside the context of a Program | D |
L1523 | A Program named <name> has already been created or referenced | D |
L1524 | A Program with number <number> (“<name>”) has already been created or referenced | D |
L1525 | The specified program number is out of range - it must be between 0 and 99 | D |
L1526 | The specified label <label> already exists as label number <number> | D |
L1527 | An Alias named <name> has already been created | D |
L1528 | An Constant named <name> has already been created | D |
L1529 | An Global Constant named <name> has already been created | D |
L1530 | The display string must be no longer than 32 printable characters | D |
L1531 | A shift count of <value> is invalid; expected a value from 1 to 32 | D |
L1532 | <value> was unexpected as a bit count; expected a Value or an Constant | D |
L1533 | Forcing line name <name> was not understood - are you using the correct Pod? | D |
L1534 | Forcing line number <number> was not understood - are you using the correct Pod? | D |
L1535 | Only one {modifier} statement is allowed. | D |
L1536 | If specified, the SetupPod statement must be the first statement in a 10LC file | D |
L1537 | <symbol> is not a valid compiler directive | D |
L1538 | Program <name> contains a reference to label <name> which was never defined | D |
L1539 | Compilation stopped because the WarningsAreErrors option is set and a warning was emitted | D |
L1540 | The extended statements are unavailable because the EnableIntrinsicStatements option was not set | D |
L1541 | The SetupPod statement has already been specified (possibly in another file) | D |
L1542 | The SetupBeep statement has already been specified (possibly in another file) | D |
L1543 | The SetupInteractiveErrors statement has already been specified (possibly in another file) | D |
L1544 | The SetupBusTestAddress statement has already been specified (possibly in another file) | D |
L1545 | The SetupRunUUTAddress statement has already been specified (possibly in another file) | D |
L1546 | The SetupXOn statement has already been specified (possibly in another file) | D |
L1547 | The SetupXOff statement has already been specified (possibly in another file) | D |
L1548 | The SetupLineSize statement has already been specified (possibly in another file) | D |
L1549 | The SetupPodTimeout statement has already been specified (possibly in another file) | D |
L1550 | The SetupNewline statement has already been specified (possibly in another file) | D |
L1551 | The SetupMaskFLMayBeEnabled statement has already been specified (possibly in another file) | D |
L1552 | The SetupForcingLineNames statement has already been specified (possibly in another file) | D |
L1553 | The SetupMemMap statement has already been specified (possibly in another file) | D |
errors.1581960360.txt.gz · Last modified: 2020/02/17 11:26 by adminz