summaryrefslogtreecommitdiff
path: root/test/cppscan6.rl
diff options
context:
space:
mode:
Diffstat (limited to 'test/cppscan6.rl')
-rw-r--r--test/cppscan6.rl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cppscan6.rl b/test/cppscan6.rl
index ed82fe6..ad2d266 100644
--- a/test/cppscan6.rl
+++ b/test/cppscan6.rl
@@ -266,7 +266,7 @@ int token;
# Single char symbols.
( punct - [_"'] ) => {
- token = first_token_char;
+ token = <int>(first_token_char);
prints "<";
printi token;
prints "> ";