r5886 - trunk/eda/boom

werner at docs.openmoko.org werner at docs.openmoko.org
Sat Apr 3 06:37:44 CEST 2010


Author: werner
Date: 2010-04-03 06:37:44 +0200 (Sat, 03 Apr 2010)
New Revision: 5886

Modified:
   trunk/eda/boom/parser.pl
Log:
- boom/parser.pl: added file-type-like construct #END to skip remaining content
  of a file



Modified: trunk/eda/boom/parser.pl
===================================================================
--- trunk/eda/boom/parser.pl	2010-04-02 09:01:44 UTC (rev 5885)
+++ trunk/eda/boom/parser.pl	2010-04-03 04:37:44 UTC (rev 5886)
@@ -403,6 +403,10 @@
 	    $mode = *dsc;
 	    next;
 	}
+	if (/^#END\b\(/) {	# for commenting things out
+	    $mode = *skip;
+	    next;
+	}
 	if (!$raw) {
 	    s/#.*//;
 	    next if /^\s*$/;




More information about the commitlog mailing list