Skip to content
Permalink
Browse files

fixed typo

  • Loading branch information...
andrejefimov committed May 27, 2019
1 parent d4e91a0 commit 30458194c64273affe38f8652ccf03a7191e9457
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/lingo.markdown
@@ -526,7 +526,7 @@ order using a special semantic action `buildSub` (we'll define it later):

exp = int:i sub*:is {buildSub(:i, :is)};
sub = '-' int:t { :t };
int = digit-$d { Int(s2i($d)) };
int = digit+$d { Int(s2i($d)) };
digit = '0'-'9';

Let's see how it will parse the same input. The first integer is parsed in the same way:

0 comments on commit 3045819

Please sign in to comment.
You can’t perform that action at this time.