Skip to content

Commit

Permalink
negative sign in number head
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidmeister committed Aug 16, 2024
1 parent 76986d5 commit 84a9b82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/generated/RainterpreterParserNPE2.pointers.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
pragma solidity =0.8.25;

/// @dev Hash of the known bytecode.
bytes32 constant BYTECODE_HASH = bytes32(0x2b76af53c41e816a07cc5750e27098896d9d7ed695b884f2ff0b39621dfdb8c3);
bytes32 constant BYTECODE_HASH = bytes32(0x9dc8d07f99b6134659f649d06710097ca77214e78f1cb5ccef5ae0a063dc77e2);

/// @dev The parse meta that is used to lookup word definitions.
/// The structure of the parse meta is:
Expand Down
4 changes: 2 additions & 2 deletions src/lib/parse/LibParseCMask.sol
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,8 @@ uint128 constant CMASK_WHITESPACE = CMASK_LINE_FEED | CMASK_CARRIAGE_RETURN | CM
/// @dev Rainlang stack item delimiter is whitespace
uint128 constant CMASK_LHS_STACK_DELIMITER = CMASK_WHITESPACE;
/// @dev Rainlang supports numeric literals as anything starting with 0-9
uint128 constant CMASK_NUMERIC_LITERAL_HEAD = CMASK_NUMERIC_0_9;
/// @dev Rainlang supports numeric literals as anything starting with 0-9 or -
uint128 constant CMASK_NUMERIC_LITERAL_HEAD = CMASK_NUMERIC_0_9 | CMASK_NEGATIVE_SIGN;
/// @dev Rainlang supports string literals as anything starting with "
uint128 constant CMASK_STRING_LITERAL_HEAD = CMASK_QUOTATION_MARK;
Expand Down

0 comments on commit 84a9b82

Please sign in to comment.