Skip to content

Commit

Permalink
Fix tokens_scan_user.x test under clang
Browse files Browse the repository at this point in the history
Clang preprocessor tries to interpret \u as a unicode character and
fails, thus preventing successful compilation.
  • Loading branch information
sergv committed Jun 17, 2017
1 parent 3a51002 commit 1139a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tokens_scan_user.x
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ $ws = [\ \t\n]

tokens :-

5 / {\u _ibt _l _iat -> u == FiveIsMagic} { \s -> TFive (head s) }
5 / {\ u _ibt _l _iat -> u == FiveIsMagic} { \s -> TFive (head s) }
$digit { \s -> TDigit (head s) }
$alpha { \s -> TAlpha (head s) }
$ws { \s -> TWSpace (head s) }
Expand Down

0 comments on commit 1139a7d

Please sign in to comment.