Searched refs:badgrammar (Results 1 – 3 of 3) sorted by relevance
/dports/devel/lua-lpeg/lpeg-1.0.2/ |
H A D | test.lua | 918 local function badgrammar (g, expected) function 924 badgrammar({[1] = m.V(1)}, "rule '1'") 925 badgrammar({[1] = m.V(2)}, "rule '2'") -- invalid non-terminal 930 badgrammar({[1] = -1 * m.V(1)}, "rule '1'") -- left-recursive 931 badgrammar({[1] = -1 + m.V(1)}, "rule '1'") -- left-recursive 937 badgrammar({ -(m.V(1) * 'a') }, "rule '1'") -- inf. loop 950 badgrammar{ #m.P('abc') * m.V(1) } 951 badgrammar{ -('a' + m.V(1)) } 953 badgrammar{ #('a' + m.V(1)) } 955 badgrammar{ m.B{ m.P'abc' } * m.V(1) } [all …]
|
/dports/audio/moony-lv2/moony-0.36.0/lpeg-1.0.2/ |
H A D | test.lua | 918 local function badgrammar (g, expected) function 924 badgrammar({[1] = m.V(1)}, "rule '1'") 925 badgrammar({[1] = m.V(2)}, "rule '2'") -- invalid non-terminal 930 badgrammar({[1] = -1 * m.V(1)}, "rule '1'") -- left-recursive 931 badgrammar({[1] = -1 + m.V(1)}, "rule '1'") -- left-recursive 937 badgrammar({ -(m.V(1) * 'a') }, "rule '1'") -- inf. loop 950 badgrammar{ #m.P('abc') * m.V(1) } 951 badgrammar{ -('a' + m.V(1)) } 953 badgrammar{ #('a' + m.V(1)) } 955 badgrammar{ m.B{ m.P'abc' } * m.V(1) } [all …]
|
/dports/editors/textadept/lpeg-1.0.2/ |
H A D | test.lua | 918 local function badgrammar (g, expected) function 924 badgrammar({[1] = m.V(1)}, "rule '1'") 925 badgrammar({[1] = m.V(2)}, "rule '2'") -- invalid non-terminal 930 badgrammar({[1] = -1 * m.V(1)}, "rule '1'") -- left-recursive 931 badgrammar({[1] = -1 + m.V(1)}, "rule '1'") -- left-recursive 937 badgrammar({ -(m.V(1) * 'a') }, "rule '1'") -- inf. loop 950 badgrammar{ #m.P('abc') * m.V(1) } 951 badgrammar{ -('a' + m.V(1)) } 953 badgrammar{ #('a' + m.V(1)) } 955 badgrammar{ m.B{ m.P'abc' } * m.V(1) } [all …]
|