mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-20 11:31:28 +08:00
...
This commit is contained in:
File diff suppressed because one or more lines are too long
+232
-193
File diff suppressed because one or more lines are too long
+9
-3
@@ -17414,8 +17414,8 @@ namespace vl
|
||||
{
|
||||
}
|
||||
|
||||
static OrderResult CheckOrder(Ptr<TransitionItem> t1, Ptr<TransitionItem> t2, bool forceGivingOrder);
|
||||
static vint Compare(Ptr<TransitionItem> t1, Ptr<TransitionItem> t2);
|
||||
static OrderResult CheckOrder(Ptr<TransitionItem> t1, Ptr<TransitionItem> t2, OrderResult defaultResult = UnknownOrder);
|
||||
static vint Compare(Ptr<TransitionItem> t1, Ptr<TransitionItem> t2, OrderResult defaultResult);
|
||||
};
|
||||
|
||||
class TransitionBag
|
||||
@@ -17646,16 +17646,22 @@ namespace vl
|
||||
|
||||
class Automaton : public Object
|
||||
{
|
||||
typedef collections::List<definitions::ParsingDefinitionRuleDefinition*> RuleDefList;
|
||||
typedef collections::Dictionary<definitions::ParsingDefinitionRuleDefinition*, Ptr<RuleInfo>> RuleInfoMap;
|
||||
public:
|
||||
ParsingSymbolManager* symbolManager;
|
||||
collections::List<Ptr<Transition>> transitions;
|
||||
collections::List<Ptr<State>> states;
|
||||
RuleInfoMap ruleInfos;
|
||||
collections::List<Ptr<RuleInfo>> ruleInfos;
|
||||
|
||||
RuleDefList orderedRulesDefs;
|
||||
RuleInfoMap ruleDefToInfoMap;
|
||||
|
||||
Automaton(ParsingSymbolManager* _symbolManager);
|
||||
~Automaton();
|
||||
|
||||
void AddRuleInfo(definitions::ParsingDefinitionRuleDefinition* rule, Ptr<RuleInfo> ruleInfo);
|
||||
|
||||
State* RuleStartState(definitions::ParsingDefinitionRuleDefinition* ownerRule);
|
||||
State* RootRuleStartState(definitions::ParsingDefinitionRuleDefinition* ownerRule);
|
||||
State* RootRuleEndState(definitions::ParsingDefinitionRuleDefinition* ownerRule);
|
||||
|
||||
+159
-160
File diff suppressed because one or more lines are too long
Binary file not shown.
+3
-7
@@ -2,10 +2,7 @@ param (
|
||||
[String]$FileName
|
||||
)
|
||||
Write-Host "Compiling GacUI Resource: $FileName ..."
|
||||
$gacgen_32 = Start-Process "$PSScriptRoot\GacGen32.exe" -ArgumentList "/P $FileName" -PassThru
|
||||
$gacgen_64 = Start-Process "$PSScriptRoot\GacGen64.exe" -ArgumentList "/P $FileName" -PassThru
|
||||
$gacgen_32.WaitForExit()
|
||||
$gacgen_64.WaitForExit()
|
||||
Start-Process-And-Wait (("$PSScriptRoot\GacGen32.exe", "/P $FileName"), ("$PSScriptRoot\GacGen64.exe", "/P $FileName"))
|
||||
|
||||
if (Test-Path -Path "$($FileName).log\x32\Error.txt") {
|
||||
throw "Failed to compile GacUI Resource (x86): $FileName"
|
||||
@@ -22,12 +19,11 @@ if (!(Test-Path -Path $output_folder)) {
|
||||
}
|
||||
Get-ChildItem -Path $x32_folder -ErrorAction SilentlyContinue | %{
|
||||
Write-Host " Merging C++ Source File: $($_.Name) ..."
|
||||
$cppmerge = Start-Process "$PSScriptRoot\CppMerge.exe" -ArgumentList "`"$x32_folder\$($_.Name)`" `"$x64_folder\$($_.Name)`" `"$output_folder\$($_.Name)`"" -PassThru
|
||||
$cppmerge.WaitForExit();
|
||||
Start-Process-And-Wait (,("$PSScriptRoot\CppMerge.exe", "`"$x32_folder\$($_.Name)`" `"$x64_folder\$($_.Name)`" `"$output_folder\$($_.Name)`""))
|
||||
}
|
||||
|
||||
$deploy = "$($FileName).log\x32\Deploy.bat"
|
||||
if (Test-Path -Path $deploy) {
|
||||
Write-Host " Deploying ..."
|
||||
Start-Process $env:ComSpec -ArgumentList "/c `"$deploy`""
|
||||
Start-Process-And-Wait (,($env:ComSpec, "/c `"$deploy`""))
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user