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_c.txl | |
parent | 17ed260cfad50c82495daeca85d52bbb243cd2a2 (diff) | |
download | ragel-e18d79d3062a776f5898ab3f83fd4ec0d1abb105.tar.gz ragel-e18d79d3062a776f5898ab3f83fd4ec0d1abb105.tar.bz2 ragel-e18d79d3062a776f5898ab3f83fd4ec0d1abb105.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_c.txl')
-rw-r--r-- | test/langtrans_c.txl | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/test/langtrans_c.txl b/test/langtrans_c.txl index e80e508..5a4971f 100644 --- a/test/langtrans_c.txl +++ b/test/langtrans_c.txl @@ -122,11 +122,27 @@ function alStmtToC1 AlStmt [action_lang_stmt] Result end function -function alTermToC +rule alTermToC1 replace [al_term] 'first_token_char by 'ts '[0] +end rule + +rule alTermToC2 + replace [al_term] + '< _ [al_type_decl] '> '( AlExpr [al_expr] ') + by + '( AlExpr ') +end rule + +function alTermToC + replace [al_term] + AlTerm [al_term] + by + AlTerm + [alTermToC1] + [alTermToC2] end function function alExprExtendToC AlExprExtend [repeat al_expr_extend] |