Browse code

fix issue #6 Duck versus bigorno

devnewton authored on 23/06/2016 07:47:46
Showing 1 changed files
... ...
@@ -35,7 +35,7 @@ canard
35 35
  {return '<canard/>';}
36 36
  
37 37
 teteCanard
38
- = [o0ô°øòó@]
38
+ = [oO0ô°øòó@]
39 39
 
40 40
 opentag
41 41
  = validOpenTag
... ...
@@ -162,7 +162,7 @@ norlogeId =
162 162
    }
163 163
 
164 164
 bigorno
165
- = bigorno:[a-zA-Z0-9-_]+ "<" &(whitespaces / [<[])
165
+ = whitespaces bigorno:[a-zA-Z0-9-_]+ "<" &(whitespaces / [<[])
166 166
  { return [].concat('<bigorno>', bigorno,'</bigorno>').join("")}
167 167
 
168 168
 totoz
... ...
@@ -171,4 +171,7 @@ totoz
171 171
   return '<totoz>' + totozId + '</totoz>'; }
172 172
   
173 173
 whitespaces
174
- = [ \t\r\n] / !.
175 174
\ No newline at end of file
175
+ = inputStart / [ \t\r\n] / ! .
176
+
177
+inputStart
178
+ = & { return location().start.offset == 0; }
176 179
\ No newline at end of file