-
Hello, I'm just trying out PEGTL - seems totally awesome. I can't seem to get the unescaped sample to work at the moment
I literally just started looking at PEGTL today, so I wouldn't be at all surprised if this is my screw up. This is on the MASTER branch synced today btw. Should I go back on to the 1.3.1 release for now? thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Just tried it with the 1.3.1 release and get the same thing. Maybe I'm confused what I'm supposed to be passing on the command line. I've tried:
and a bunch of other things... no luck (gcc 6.2.1-7 btw) |
Beta Was this translation helpful? Give feedback.
-
You need to pass in a string (with escaped characters if you want) including the surrounding double-quotes. In order to do so, it is not sufficient to simply pass double-quotes on the command line, as the shell will interpret them and won't pass it to the example code. The correct way to pass them is:
This should work in both the 1.3.1 as well as the current master branch. |
Beta Was this translation helpful? Give feedback.
-
Aha, that was the one combo I didn't try, |
Beta Was this translation helpful? Give feedback.
You need to pass in a string (with escaped characters if you want) including the surrounding double-quotes. In order to do so, it is not sufficient to simply pass double-quotes on the command line, as the shell will interpret them and won't pass it to the example code. The correct way to pass them is:
This should work in both the 1.3.1 as well as the current master branch.