RBScanner has code to handle that. In fact, in the same place it scans := and _ and produces a RBAssignmentToken (respectively a RBShortAssignmentToken).

(RBScanner>>scanSpecialCharacter)

Thierry

Le 03/03/2014 09:12, Clément Bera a écrit :
Well this is a parser problem. The parser should mark as an assignment
AST node the code with the underscore and everything would work fine.
Now I don't really understand RBParser ...


2014-03-03 7:53 GMT+01:00 Pharo4Stef <[email protected]
<mailto:[email protected]>>:

    Hi

    How can I tell the compiler to accept assignment as underscore?
    I could not find a setting for that?
    Would be nice to have that and turn them automatically into :=
    Now to load all code what should I do?
    Do it with emacs :(


    Stef



--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95

Reply via email to