summaryrefslogtreecommitdiffstats
path: root/languages/ada/ada.g
diff options
context:
space:
mode:
Diffstat (limited to 'languages/ada/ada.g')
-rw-r--r--languages/ada/ada.g12
1 files changed, 6 insertions, 6 deletions
diff --git a/languages/ada/ada.g b/languages/ada/ada.g
index 876255f5..8c073e23 100644
--- a/languages/ada/ada.g
+++ b/languages/ada/ada.g
@@ -179,7 +179,7 @@ generic_inst : NEW! compound_name ( LPAREN! value_s RPAREN! )?
{ pop_def_id(); }
;
-tqparenth_values : LPAREN! value ( COMMA! value )* RPAREN!
+parenth_values : LPAREN! value ( COMMA! value )* RPAREN!
;
value : ( OTHERS^ RIGHT_SHAFT! expression
@@ -287,7 +287,7 @@ definable_operator_symbol returns [RefAdaAST d]
op:CHAR_STRING { #op->setType(OPERATOR_SYMBOL); d=#op; }
;
-tqparenthesized_primary : pp:LPAREN^
+parenthesized_primary : pp:LPAREN^
( NuLL RECORD!
| value_s extension_opt
)
@@ -851,7 +851,7 @@ abstract_tagged_limited_opt
local_enum_name : IDENTIFIER // to be refined: do a symbol table lookup
;
-enumeration_aggregate : tqparenth_values
+enumeration_aggregate : parenth_values
;
aliased_constant_opt : ( ALIASED )? ( CONSTANT )?
@@ -1267,7 +1267,7 @@ accept_stmt : a:ACCEPT^ def_id[false] entry_index_opt formal_part_opt
;
entry_index_opt : ( (LPAREN expression RPAREN) => LPAREN! expression RPAREN!
- // Looks alot like tqparenthesized_expr_opt, but it's not.
+ // Looks alot like parenthesized_expr_opt, but it's not.
// We need the syn pred for the usage context in accept_stmt.
// The formal_part_opt that follows the entry_index_opt there
// creates ambiguity (due to the opening LPAREN.)
@@ -1463,7 +1463,7 @@ factor : ( NOT^ primary
;
primary : ( name_or_qualified
- | tqparenthesized_primary
+ | parenthesized_primary
| allocator
| NuLL
| NUMERIC_LIT
@@ -1485,7 +1485,7 @@ name_or_qualified { RefAdaAST dummy; }
)
| p:LPAREN^ value_s RPAREN!
{ Set(#p, INDEXED_COMPONENT); }
- | TIC^ ( tqparenthesized_primary | attribute_id )
+ | TIC^ ( parenthesized_primary | attribute_id )
)*
;