Skip to content

Commit

Permalink
Fix jasm highlighting regression with aastore/aaload/if_ixxxx instruc…
Browse files Browse the repository at this point in the history
…tions
  • Loading branch information
Col-E committed Oct 18, 2024
1 parent 97272c6 commit 23cc703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recaf-ui/src/main/resources/syntax/jasm.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
{
"name": "Keywords",
"regex": "\\b(?:method|field|class|implements|inner|(?:(?:in)?visible-)?annotation|code|parameters|exceptions|sourcefile|default-value|public|private|native|abstract|interface|synthetic|strict|enum|super|module|synchronized|bridge|varargs|volatile|transient|static|final|protected|aconst_null|anewarray|areturn|arraylength|athrow|bipush|checkcast|d2(?:f|i|l)|dadd|dcmpg|dcmpl|dconst_(?:1|0)|ddiv|dmul|dneg|drem|dreturn|dsub|dup(?:2|_x1|_x2|2_x1|2_x2)?|f2(?:d|i|l)|fadd|fcmpg|fcmpl|fconst_(?:0|1|2)|fdiv|fmul|fneg|frem|freturn|fsub|get(?:field|static)|goto|i2(?:b|c|d|f|l|s)|iadd|iand|iconst_(?:0|1|2|3|4|5|m1)|idiv|if_(?:acmp(?:ne|eq)|icmp(?:le|eq|ne|lt|ge|gt|le))\n|if(?:eq|ne|lt|ge|gt|le|nonnull|null)|iinc|imul|ineg|instanceof|invoke(?:dynamic|interface|special(?:interface)?|static(?:interface)?|virtual(?:interface)?)|ior|irem|ireturn|ishl|ishr|(?:a|i|f|d|l)store|(?:a|i|f|d|l)load|(?:c|l|b|s|d|f|i)astore|(?:c|l|b|s|d|f|i)aload|isub|iushr|ixor|jsr|l2(?:d|f|i)|ladd|land|lcmp|lconst_(?:0|1)|ldc|ldiv|lmul|lneg|lookupswitch|lor|lrem|line|lreturn|lshl|lshr|lstore|lsub|lushr|lxor|monitor(?:enter|exit)|multianewarray|new(?:array)?|nop|pop(?:2)?|put(?:field|static)|ret(?:urn)?|sipush|swap|tableswitch|wide)\\b",
"regex": "\\b(?:method|field|class|implements|inner|(?:(?:in)?visible-)?annotation|code|parameters|exceptions|sourcefile|default-value|public|private|native|abstract|interface|synthetic|strict|enum|super|module|synchronized|bridge|varargs|volatile|transient|static|final|protected|aconst_null|anewarray|areturn|arraylength|athrow|bipush|checkcast|d2(?:f|i|l)|dadd|dcmpg|dcmpl|dconst_(?:1|0)|ddiv|dmul|dneg|drem|dreturn|dsub|dup(?:2|_x1|_x2|2_x1|2_x2)?|f2(?:d|i|l)|fadd|fcmpg|fcmpl|fconst_(?:0|1|2)|fdiv|fmul|fneg|frem|freturn|fsub|get(?:field|static)|goto|i2(?:b|c|d|f|l|s)|iadd|iand|iconst_(?:0|1|2|3|4|5|m1)|idiv|if_(?:acmp(?:ne|eq)|icmp(?:le|eq|ne|lt|ge|gt|le))|if(?:eq|ne|lt|ge|gt|le|nonnull|null)|iinc|imul|ineg|instanceof|invoke(?:dynamic|interface|special(?:interface)?|static(?:interface)?|virtual(?:interface)?)|ior|irem|ireturn|ishl|ishr|(?:aa?|i|f|d|l)store|(?:aa?|i|f|d|l)load|(?:a|c|l|b|s|d|f|i)astore|(?:c|l|b|s|d|f|i)aload|isub|iushr|ixor|jsr|l2(?:d|f|i)|ladd|land|lcmp|lconst_(?:0|1)|ldc|ldiv|lmul|lneg|lookupswitch|lor|lrem|line|lreturn|lshl|lshr|lstore|lsub|lushr|lxor|monitor(?:enter|exit)|multianewarray|new(?:array)?|nop|pop(?:2)?|put(?:field|static)|ret(?:urn)?|sipush|swap|tableswitch|wide)\\b",
"classes": [
"keyword"
],
Expand Down

0 comments on commit 23cc703

Please sign in to comment.