Permalink
Browse files

Semicolons can be used without eol

  • Loading branch information...
1 parent 9137ad5 commit b16f9dad1d72547257aa76db50215623be308823 @raphink raphink committed Nov 13, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 bacula.aug
View
@@ -35,7 +35,8 @@ module Bacula =
let keyvalue = [key key_name . equal . val]
let include = [label "@include" . del "@" "@" . store /[^ #\t\n@};]+/]
- let line = indent . (keyvalue|include) . del /;?/ "" . Util.comment_or_eol
+ let semicolon = [ del /[ \t]*;/ ";" ]
+ let line = indent . (keyvalue|include) . (semicolon|Util.comment_or_eol)
let brackets = del /[ \n\t]*\{/ " {" . line+ . del /[ \t\n]*}/ "\n}"
let directive = [ key /[a-zA-Z]+/ . brackets ]

0 comments on commit b16f9da

Please sign in to comment.