aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/param.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v5/param.rb')
-rw-r--r--lib/sisu/v5/param.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sisu/v5/param.rb b/lib/sisu/v5/param.rb
index a54e7de1..9585696e 100644
--- a/lib/sisu/v5/param.rb
+++ b/lib/sisu/v5/param.rb
@@ -958,9 +958,9 @@ module SiSU_Param
raise "Old markup style in file #{@fns}, current version #{@sisu_version[:project]} #{@sisu_version[:version]} #{@sisu_version[:date_stamp]} #{@sisu_version[:date]}:\n\t\t#{para}\n\n"
end
@code_flag=case para
- when /^code\{\s*$/; true
- when /^\}code\s*$/; false
- else @code_flag
+ when /^code\{\s*$/ then true
+ when /^\}code\s*$/ then false
+ else @code_flag
end
regx_header=/^@\S+?:[+-]?\s/
if para =~regx_header \
@@ -1126,7 +1126,7 @@ module SiSU_Param
when /~\^(?:\s|$)/m #% processing
mk=para.scan(/~\^(?:\s|$)/)
mk.each { |e| @en[:mark] +=1 }
- when /^\^~\s+\S/; @en[:note] +=1 #% processing
+ when /^\^~\s+\S/ then @en[:note] +=1 #% processing
end
end
if para =~/~\{|\^~ |~\^|\{.+?\[[1-6]\]\}\S+?\.ss[tm]/m