diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-06-19 11:39:44 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-06-19 11:39:44 -0300 |
commit | e3f612f58dc0201beb3a86e1a5d8df9cd9158698 (patch) | |
tree | 3fc5da5b398f7f0a60f71913b0cb97490b2744ad /re.lua | |
parent | 9a9ee3d9ab8ce435d743d293ec43075151370200 (diff) | |
download | lpeg-e3f612f58dc0201beb3a86e1a5d8df9cd9158698.tar.gz lpeg-e3f612f58dc0201beb3a86e1a5d8df9cd9158698.tar.bz2 lpeg-e3f612f58dc0201beb3a86e1a5d8df9cd9158698.zip |
Detail in 're.lua'
Distinction between 'm' and 'mm'.
Diffstat (limited to 're.lua')
-rw-r--r-- | re.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -184,8 +184,8 @@ local exp = m.P{ "Exp", | |||
184 | + m.P"{}" * m.Cc(nil, m.Ct) | 184 | + m.P"{}" * m.Cc(nil, m.Ct) |
185 | + defwithfunc(mt.__div) | 185 | + defwithfunc(mt.__div) |
186 | ) | 186 | ) |
187 | + "=>" * S * defwithfunc(m.Cmt) | 187 | + "=>" * S * defwithfunc(mm.Cmt) |
188 | + "~>" * S * defwithfunc(m.Cf) | 188 | + "~>" * S * defwithfunc(mm.Cf) |
189 | ) * S | 189 | ) * S |
190 | )^0, function (a,b,f) return f(a,b) end ); | 190 | )^0, function (a,b,f) return f(a,b) end ); |
191 | Primary = "(" * m.V"Exp" * ")" | 191 | Primary = "(" * m.V"Exp" * ")" |