Move construction of ScriptInfo to a dedicated method
commite2db6b9bcf1ad08cbcbe09fc223ae86bfd77745f
authorcirdan <cirdansw@gmail.com>
Thu, 13 Aug 2015 08:07:40 +0000 (13 10:07 +0200)
committercirdan <cirdansw@gmail.com>
Thu, 13 Aug 2015 08:07:40 +0000 (13 10:07 +0200)
tree5f128130ef900b4da9b581af057775bc6dcbb832
parent057c9cb2f3601c50cc0d4cce21acccc26f7b6566
Move construction of ScriptInfo to a dedicated method

Add a new method ScriptInfo::construct to fill in the fields of a
ScriptInfo from a ScriptScanner, and make it virtual so that derived
classes can tailor it to their needs.
src/script/script_info.cpp
src/script/script_info.hpp
src/script/script_scanner.cpp