summaryrefslogtreecommitdiff
path: root/example/calc.adb
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2021-01-13 18:31:27 +1100
committerJed Barber <jjbarber@y7mail.com>2021-01-13 18:31:27 +1100
commit3fa431a2268a11dec6fd82c8f9b59cc2d0af9a93 (patch)
tree509228a90b6fba0daf7d9fb2598132fe64d361fa /example/calc.adb
parent703a09c135d04b37be34d95915c32d70d730894c (diff)
Stamp/Ignore now Stamp/Discard/Ignore
Diffstat (limited to 'example/calc.adb')
-rw-r--r--example/calc.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/calc.adb b/example/calc.adb
index 0dd0e71..e94aaf2 100644
--- a/example/calc.adb
+++ b/example/calc.adb
@@ -58,7 +58,7 @@ procedure Calc is
function Sat_Blank is new My_Rat.Lexers.Satisfy (Packrat.Utilities.Is_Whitespace);
function Many_Blank is new My_Rat.Lexers.Many (Sat_Blank, 1);
- function Whitespace is new My_Rat.Lexers.Ignore (Whitespace, Many_Blank);
+ function Whitespace is new My_Rat.Lexers.Discard (Whitespace, Many_Blank);
package Scanner is new My_Rat.Lexers.Scan_Once
((Whitespace'Access, Decimal'Access, Number'Access,