summaryrefslogtreecommitdiff
path: root/test/prism/errors/statement_operators.txt
blob: 04b7c57477382ff39c721b383c3645efd34d7b95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
alias x y + 1
          ^ unexpected '+', expecting end-of-input
          ^ unexpected '+', ignoring it
alias x y.z
         ^ unexpected '.', expecting end-of-input
         ^ unexpected '.', ignoring it
BEGIN { bar } + 1
              ^ unexpected '+', expecting end-of-input
              ^ unexpected '+', ignoring it
BEGIN { bar }.z
             ^ unexpected '.', expecting end-of-input
             ^ unexpected '.', ignoring it
END { bar } + 1
            ^ unexpected '+', expecting end-of-input
            ^ unexpected '+', ignoring it
END { bar }.z
           ^ unexpected '.', expecting end-of-input
           ^ unexpected '.', ignoring it
undef x + 1
        ^ unexpected '+', expecting end-of-input
        ^ unexpected '+', ignoring it
undef x.z
       ^ unexpected '.', expecting end-of-input
       ^ unexpected '.', ignoring it