cwensley on develop
Mac: Check for null Handler whe… Merge pull request #2385 from c… (compare)
cwensley on develop
Add Control.TriggerStyleChanged… Merge pull request #2384 from c… (compare)
cwensley on develop
Gtk: Fix crash when setting Tre… Merge pull request #2383 from c… (compare)
<projectName>.__.*.xeto
not being on diskCSC : error CS1566: Failure while trying to read resource "<projectname>.__.*.xeto": "Could not find a part of the path '/path/to/project/**/*.xeto'."
dotnet build
, but also while using jetbrains rider. Also should mention that I'm on Linux.
6.0.9.sdk109-1
from the Arch repos to be exact.
Hi There,
I'm trying to create a parser with Eto.Parse (1.6.0) to parse string like "abcd -eq 12" or "abcd -eq 12 -and efgh -eq 34" and so on
https://gist.github.com/remygrandin/a6229e39f7a3674130eab358160e6737
However I can't get the repeat part to work
"abcd -eq 12" parse correctly
but "abcd -eq 12 -and efgh -eq 34" fail with error 'ChildIndex=11, Line=1, Context="bcd -eq 12>>> -and efgh"'
I probably didn't declare something properly in the grammar but I don't see what.
Any pointers ?
clause | new RepeatParser(clause, 2).SeparatedBy(logicComparator);
, so since the first matches (clause), it won't try the alternate (the RepeatParser). You could simply just use the RepeatParser directly and give it minimum 1 and max whatever you want.
Yeah, I tried this at first, but I got this when trying to parse without repetition ("abcd -eq 12") :
Index=11, Line=1, Context="bcd -eq 12>>>"
Expected:
logicComparator: (Literal: ' -and ' | Literal: ' -or ')
and this on a "abcd -eq 12 -and efgh -eq 34"
Index=28, Line=1, Context="fgh -eq 34>>>"
Expected:
logicComparator: (Literal: ' -and ' | Literal: ' -or ')
The matches are filed tho, but it still report with 1 error in the GrammarMatch object