Enable regular expressions.
- add regular expressions support to JS parser and interpreter; - add tests for regular expressions. JerryScript-DCO-1.0-Signed-off-by: Szilard Ledan szledan.u-szeged@partner.samsung.com JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
@@ -50,7 +50,8 @@ typedef enum
|
||||
OPCODE_ARG_TYPE_NUMBER, /**< index of number literal */
|
||||
OPCODE_ARG_TYPE_NUMBER_NEGATE, /**< index of number literal with negation */
|
||||
OPCODE_ARG_TYPE_STRING, /**< index of string literal */
|
||||
OPCODE_ARG_TYPE_VARIABLE /**< index of variable name */
|
||||
OPCODE_ARG_TYPE_VARIABLE, /**< index of string literal with variable name */
|
||||
OPCODE_ARG_TYPE_REGEXP /**< index of string literal with regular expression */
|
||||
} opcode_arg_type_operand;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user