Added a new syntax for verbose embeddings. This adds parentheses:
authorthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Fri, 9 Mar 2007 19:46:32 +0000 (19:46 +0000)
committerthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Fri, 9 Mar 2007 19:46:32 +0000 (19:46 +0000)
commit434129e679d681ac4df1572887a070a42bb426ea
tree5cb9826a873c4e30de23257b652ab6947cd4d884
parenta801b2dd31ac69fb1a126ac694f5271fd3f37840
Added a new syntax for verbose embeddings. This adds parentheses:

    $from(action_name);

Verbose embeddings without parentheses can make code difficult to read
because they force a space in the middle of an action embedding. There is a
tendency to associtate spaces with concatenation. Without syntax
highlighting to make it clear that the embedding type is a keyword, the
problem is especially bad. The danger is that a verbose embedding could be
read as an embedding of the embedding type:

    main := 'foo' $from some_action '\n';

With parentheses this statment reads much more clearly.

    main := 'foo' $from(some_action) '\n';

git-svn-id: http://svn.complang.org/ragel/trunk@126 052ea7fc-9027-0410-9066-f65837a77df0
ChangeLog
TODO
ragel/rlparse.kl