mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 00:24:05 +00:00
common syntax for context name
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -492,14 +492,10 @@ jumptarget : goto_word { /* ext, 1 */
|
|||||||
$$ = nword($5, &@5);
|
$$ = nword($5, &@5);
|
||||||
$$->next = nword($1, &@1);
|
$$->next = nword($1, &@1);
|
||||||
$$->next->next = nword($3, &@3); }
|
$$->next->next = nword($3, &@3); }
|
||||||
| goto_word AT goto_word { /* context, ext, 1 */
|
| goto_word AT context_name { /* context, ext, 1 */
|
||||||
$$ = nword($3, &@3);
|
$$ = nword($3, &@3);
|
||||||
$$->next = nword($1, &@1);
|
$$->next = nword($1, &@1);
|
||||||
$$->next->next = nword(strdup("1"), &@3); }
|
$$->next->next = nword(strdup("1"), &@3); }
|
||||||
| goto_word AT KW_DEFAULT { /* default, ext, 1 */
|
|
||||||
$$ = nword(strdup("default"), &@1);
|
|
||||||
$$->next = nword($1, &@3);
|
|
||||||
$$->next->next = nword( strdup("1"), &@3); }
|
|
||||||
;
|
;
|
||||||
|
|
||||||
macro_call : word LP {reset_argcount(parseio->scanner);} eval_arglist RP {
|
macro_call : word LP {reset_argcount(parseio->scanner);} eval_arglist RP {
|
||||||
|
Reference in New Issue
Block a user