Skip to content

Commit b8923a3

Browse files
committed
Fix VM instruction docs
1 parent 2fa60f7 commit b8923a3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/scratchcpp/virtualmachine.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,16 @@ enum Opcode
7171
OP_LIST_LENGTH, /*!< Stores the length of the list with the index in the argument, in the last register. */
7272
OP_LIST_CONTAINS, /*!< Stores true in the last register if the list with the index in the argument contains the value from the last register. */
7373
OP_STR_CONCAT, /*!< Concatenates the strings stored in the last 2 registers and stores the result in the last register, deleting the input registers. */
74-
OP_STR_AT, /*! Stores the character at index in the last register of the string in the second last register, in the last register. */
75-
OP_STR_LENGTH, /*! Stores the length of the string in the last register, in the last register. */
76-
OP_STR_CONTAINS, /*! Stores true in the last register if the string stored in the second last register contains the substring in the last register. */
74+
OP_STR_AT, /*!< Stores the character at index in the last register of the string in the second last register, in the last register. */
75+
OP_STR_LENGTH, /*!< Stores the length of the string in the last register, in the last register. */
76+
OP_STR_CONTAINS, /*!< Stores true in the last register if the string stored in the second last register contains the substring in the last register. */
7777
OP_EXEC, /*!< Calls the function with the index in the argument. */
7878
OP_INIT_PROCEDURE, /*!< Initializes the list of procedure (custom block) arguments. */
7979
OP_CALL_PROCEDURE, /*! Calls the procedure (custom block) with the index in the argument. */
8080
OP_ADD_ARG, /*!< Adds a procedure (custom block) argument with the value from the last register. */
8181
OP_READ_ARG, /*!< Reads the procedure (custom block) argument with the index in the argument and stores the value in the last register. */
8282
OP_BREAK_FRAME, /*!< Breaks current frame at the end of the loop. */
83-
OP_WARP /*! Runs the script without screen refresh. */
83+
OP_WARP /*!< Runs the script without screen refresh. */
8484
};
8585

8686
}

0 commit comments

Comments
 (0)