Boost logo

Boost Users :

Subject: [Boost-users] [Proto] Turnign grammar into primitive transform : _default is being naughty with me :(
From: joel falcou (joel.falcou_at_[hidden])
Date: 2010-03-17 16:58:33


I'm polisihng some generic recursive descent grammar to evaluate various
sort of expression
that only differ on how nodes and leaf are treated. I was trying, once
the grammar was set up using combo of transform
to make a single primitive transform to speed up compile-time.
Everythign worked until I hit a brick wall while trying to
put the last non-generic part (the call to proto::_default) inside my
own transform.

Here is link to the working.cpp and not_working.cpp stand alone source
file for inspection.
test were done on 1.42 release.

http://www.lri.fr/~falcou/tmp/working.cpp
http://www.lri.fr/~falcou/tmp/not_working.cpp

The error is :

http://www.lri.fr/~falcou/tmp/errors.txt

thanks for any pointer on this issue which, I think, is a stupid mistake
on my side.

-- 
___________________________________________
Joel Falcou - Assistant Professor
PARALL Team - LRI - Universite Paris Sud XI
Tel : (+33)1 69 15 66 35

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net