Skip to content

Commit

Permalink
I was thinking of >>
Browse files Browse the repository at this point in the history
  • Loading branch information
eggrobin committed Jun 26, 2024
1 parent 8a33b28 commit 634d9a9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -694,8 +694,8 @@ private static void inLine(
// 1. words: runs of [^\p{Pattern_White_Space}\p{Pattern_Syntax}];
// 2. simple operators: sequences of the form \p{Pattern_Syntax} \p{Mn}*;
// 3. explicitly expected sequences of words and simple operators without intervening spaces;
// this allows for contextually accepting operators such as :=, <<, ’s, or .GT.,
// without treating, e.g., every << as atomic.
// this allows for contextually accepting operators such as :=, >>, ’s, or .GT.,
// without treating, e.g., every >> as atomic.
private static class Lookahead {
// Advances pp through any pattern white space, then looks ahead one token.
public static Lookahead oneToken(ParsePosition pp, String text) {
Expand Down

0 comments on commit 634d9a9

Please sign in to comment.