Opened 8 years ago
Closed 8 years ago
#738 closed bug (fixed)
alias after line break gives error
Reported by: | steenpass | Owned by: | somebody |
---|---|---|---|
Priority: | minor | Milestone: | 4-1-0 and higher |
Component: | dontKnow | Version: | 4-0-2 |
Keywords: | alias | Cc: |
Description
> proc p1(def a1, alias def a2) {} > proc p2(def a1, . alias def a2) {} > int n1 = 1; > int n2 = 2; > p1(n1, n2); // this works > p2(n1, n2); ? error occurred in or before ::p2 line 1: ` alias def a2; ` ? last reserved name was `alias` ? leaving ::p2 skipping text from ` ` ? leaving ::p2 error at token `)` >
From the manual (http://www.singular.uni-kl.de/Manual/4-0-2/sing_44.htm):
The parameter_list may stretch across multiple lines.
Note: See
TracTickets for help on using
tickets.
fixed with 66417b99c7f1ddf1f8ae211e8f3c60c293c730dc