Commit ed61b643 authored by Igor Dejanovic's avatar Igor Dejanovic

Changed comment rule in cleanpeg to python/bash style (#).

parent 71b2e4c6
......@@ -48,7 +48,7 @@ def rule_name(): return _(r"[a-zA-Z_]([a-zA-Z_]|[0-9])*")
def rule_crossref(): return rule_name
#def literal(): return [_(r"\'(\\\'|[^\'])*\'"),_(r'"[^"]*"')]
def str_match(): return _(r'(\'(\\\'|[^\'])*\')|("[^"]*")')
def comment(): return "//", _(".*\n")
def comment(): return _("#.*\n")
# ------------------------------------------------------------------
# PEG Semantic Actions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment