From: Joel de G. <jo...@bo...> - 2005-01-28 13:45:24
|
aud...@nx... wrote: > > Down there is where I managed to go. I don't get why I can't get it > compile again. I'm losing so many time at work trying to compile things > that seems trivial to be done for someone with a good mastery of Spirit. > I thought I had a good knowledge of english but may be I don't because I > can't understand why it's not working. Ah, the classic "Scanner Business" problem. Please see our no. 1 FAQ: http://tinyurl.com/3tcpp <quote> Take note however that phrase_scanner_t is compatible only when you are using char const* iterators and space_p as the skip parser. Other than that, you'll have to find the right type of scanner. This is tedious to do correctly. In light of this issue, it is best to avoid rules as arguments to the parse functions. Keep in mind that this happens only with rules. The rule is the only parser that has to be tied to a particular scanner type. For instance: </quote> I'd suggest that you use a grammar. HTH, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net |