Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Embedded comments now require backticks.

  • Loading branch information...
commit 1d75a78c376b602cbccb2cf701a5e5c76babbdb4 1 parent 8d7fc7d
Patrick R. Michaud authored August 11, 2009
10  src/parser/grammar.pg
@@ -94,11 +94,11 @@ token nofun { <!before '(' | '.(' | '\\' | '\'' | '-'> }
94 94
 token unv {
95 95
     || \h+
96 96
     || ^^ <.pod_comment>
97  
-    || ^^ '#' <?opener> <.panic: "Can't use embedded columns in column 1">
98  
-    || '#' [
99  
-           | <?opener> <quote_expression: >
100  
-           | \N*
101  
-           ]
  97
+    || \h* '#' [
  98
+         | '`' <quote_expression: >
  99
+         | <?opener> <.panic: "Embedded comments now require backticks">
  100
+         | \N*
  101
+         ]
102 102
 }
103 103
 
104 104
 ##  The <afterws> rule returns true if we're immediate after
4  src/setting/Range.pm
@@ -54,12 +54,12 @@ class Range is also {
54 54
         }
55 55
     }
56 56
 
57  
-    our #(Range) multi method reverse() {
  57
+    our #`(Range) multi method reverse() {
58 58
         # XXX Should eventually return a reversed Range.
59 59
         @.list.reverse;
60 60
     }
61 61
 
62  
-    our #(Bool) multi method true() {
  62
+    our #`(Bool) multi method true() {
63 63
         # XXX For some reason, simply ?-ing what follows does not fix the
64 64
         # return type to Bool. Needs investigating...
65 65
         self!to_test($.from_exclusive ?? ++($.from.clone) !! $.from)

0 notes on commit 1d75a78

Please sign in to comment.
Something went wrong with that request. Please try again.