diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2015-09-08 19:35:02 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2015-12-04 13:41:28 +0900 |
commit | e18d79d3062a776f5898ab3f83fd4ec0d1abb105 (patch) | |
tree | 709cf04a097c05823e6610e735c742641d384e4d /test/langtrans_csharp.txl | |
parent | 17ed260cfad50c82495daeca85d52bbb243cd2a2 (diff) | |
download | ragel-accepted/tizen/wearable/20151223.105009.tar.gz ragel-accepted/tizen/wearable/20151223.105009.tar.bz2 ragel-accepted/tizen/wearable/20151223.105009.zip |
Bump to 6.8upstream/6.8submit/tizen_ivi/20160217.000007submit/tizen_ivi/20160217.000000submit/tizen_common/20151229.154718submit/tizen_common/20151229.144031submit/tizen_common/20151229.142028submit/tizen/20151223.035251accepted/tizen/wearable/20151223.105009accepted/tizen/tv/20151223.104924accepted/tizen/mobile/20151223.104855accepted/tizen/ivi/20160218.025832accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_ivi
Change-Id: Ic8161a63cda6242edf910c9808e0fd5a8953cb27
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'test/langtrans_csharp.txl')
-rw-r--r-- | test/langtrans_csharp.txl | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/test/langtrans_csharp.txl b/test/langtrans_csharp.txl index cf4a2c1..a8c6003 100644 --- a/test/langtrans_csharp.txl +++ b/test/langtrans_csharp.txl @@ -125,11 +125,27 @@ function alStmtToCSharp1 AlStmt [action_lang_stmt] Result end function -function alTermToCSharp +rule alTermToCSharp1 replace [al_term] 'first_token_char by 'data '[ts] +end rule + +rule alTermToCSharp2 + replace [al_term] + '< _ [al_type_decl] '> '( AlExpr [al_expr] ') + by + '( AlExpr ') +end rule + +function alTermToCSharp + replace [al_term] + AlTerm [al_term] + by + AlTerm + [alTermToCSharp1] + [alTermToCSharp2] end function function alExprExtendToCSharp AlExprExtend [repeat al_expr_extend] |