Skip to content

Commit

Permalink
delocate parser: allow whitespace after OffsetOperator
Browse files Browse the repository at this point in the history
  • Loading branch information
pittma committed May 7, 2024
1 parent be73131 commit 83ba960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/fipstools/delocate/delocate.peg
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Operator <- [+\-]
OffsetOperator <- '+' / '-' / '*'
Offset <- '+'? '-'? (("0b" [01]+) /
("0x" [[0-9A-F]]+) /
([0-9]+ WS OffsetOperator [0-9]+ /
([0-9]+ WS OffsetOperator WS? [0-9]+ /
[0-9]+ ( OffsetOperator '(' [0-9]+ OffsetOperator [0-9]+ ')' )? /
[0-9]+ ( OffsetOperator [0-9]+ OffsetOperator [0-9]+ )? /
[0-9]+ ( OffsetOperator [0-9]+ )? /
Expand Down

0 comments on commit 83ba960

Please sign in to comment.