summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorCharlie Brej <cbrej@cs.man.ac.uk>2009-06-22 22:59:45 +0100
committerRay Strode <rstrode@redhat.com>2009-07-24 09:30:08 -0400
commit67b8703dd6d97f1cf439d8f2dde597e6fb8b72f7 (patch)
tree33269261bd59ba02e7443e804c3a7284620e1330 /themes
parentd86416e23b453667c7338d460e9cfe02ebef2b61 (diff)
[scan] Add parsing of line comments
These are currently hard coded to '//' and '#'. The code is there to return them to the caller but currently they are thrown away. Should add a skip_comments option and allow customisable markers.
Diffstat (limited to 'themes')
-rw-r--r--themes/script/script.script3
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/script/script.script b/themes/script/script.script
index 3eef2f35..754140b0 100644
--- a/themes/script/script.script
+++ b/themes/script/script.script
@@ -45,4 +45,7 @@ fun refresh (){
return;
}
+// This is a comment
+# As is this (both are acceptable because people do forget which to use)
+
PlymouthSetRefreshFunction(refresh);