yhirose / cpp-peglib

A single file C++ header-only PEG (Parsing Expression Grammars) library
MIT License
900 stars 112 forks source link

Why throw bad_cast #140

Closed lilijreey closed 3 years ago

lilijreey commented 3 years ago

` peg["NoExistRuler"] = [](const SemanticValues &vs) { //crash throw bad_cast return 0; };

`

yhirose commented 3 years ago

@lilijreey, thanks for the feedback, but it's too little information...