Skip to content

Commit

Permalink
Continuing the refactoring of exception management across all projects
Browse files Browse the repository at this point in the history
  • Loading branch information
hallambaker committed Jul 14, 2020
1 parent 72a9231 commit eae7996
Show file tree
Hide file tree
Showing 244 changed files with 16,676 additions and 939 deletions.
44 changes: 22 additions & 22 deletions ASN/Goedel.Tool.ASN/Asn2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1715,8 +1715,8 @@ public override void Process(TokenType Token, Position Position, string Text) {
Current_Cast.Spec = New_Choice(Text);
}
else {
Goedel.Tool.ASN._Label result = new Goedel.Tool.ASN._Label {
Label = Registry.REF(Position, Text, TYPE__IDName, Current_Cast)
Goedel.Tool.ASN._Label result = new Goedel.Tool.ASN._Label {
Label = Registry.REF(Position, Text, TYPE__IDName, Current_Cast)
};
Current_Cast.Spec = result;
State = StateCode.Member__Spec;
Expand All @@ -1731,10 +1731,10 @@ public override void Process(TokenType Token, Position Position, string Text) {
State = StateCode.Member__Spec;
break;
}
else {
throw new Expected ("Parser Error Expected [OIDRef Any Bits VBits Octets Integer BigInteger Boolean Time List Set Choice IA5String BMPString UTF8String PrintableString ]");
}

else {
throw new Expected ("Parser Error Expected [OIDRef Any Bits VBits Octets Integer BigInteger Boolean Time List Set Choice IA5String BMPString UTF8String PrintableString ]");
}

case StateCode.Member__Spec:

if (Token == TokenType.BEGIN) {
Expand Down Expand Up @@ -1825,8 +1825,8 @@ public override void Process(TokenType Token, Position Position, string Text) {
Current_Cast.Spec = New_Choice(Text);
}
else {
Goedel.Tool.ASN._Label result = new Goedel.Tool.ASN._Label {
Label = Registry.REF(Position, Text, TYPE__IDName, Current_Cast)
Goedel.Tool.ASN._Label result = new Goedel.Tool.ASN._Label {
Label = Registry.REF(Position, Text, TYPE__IDName, Current_Cast)
};
Current_Cast.Spec = result;
State = StateCode.List__Spec;
Expand All @@ -1841,10 +1841,10 @@ public override void Process(TokenType Token, Position Position, string Text) {
State = StateCode.List__Spec;
break;
}
else {
throw new Expected ("Parser Error Expected [OIDRef Any Bits VBits Octets Integer BigInteger Boolean Time List Set Choice IA5String BMPString UTF8String PrintableString ]");
}

else {
throw new Expected ("Parser Error Expected [OIDRef Any Bits VBits Octets Integer BigInteger Boolean Time List Set Choice IA5String BMPString UTF8String PrintableString ]");
}

case StateCode.List__Spec:
Pop ();
Represent = true;
Expand Down Expand Up @@ -1874,8 +1874,8 @@ public override void Process(TokenType Token, Position Position, string Text) {
Current_Cast.Spec = New_Choice(Text);
}
else {
Goedel.Tool.ASN._Label result = new Goedel.Tool.ASN._Label {
Label = Registry.REF(Position, Text, TYPE__IDName, Current_Cast)
Goedel.Tool.ASN._Label result = new Goedel.Tool.ASN._Label {
Label = Registry.REF(Position, Text, TYPE__IDName, Current_Cast)
};
Current_Cast.Spec = result;
State = StateCode.Set__Spec;
Expand All @@ -1890,10 +1890,10 @@ public override void Process(TokenType Token, Position Position, string Text) {
State = StateCode.Set__Spec;
break;
}
else {
throw new Expected ("Parser Error Expected [OIDRef Any Bits VBits Octets Integer BigInteger Boolean Time List Set Choice IA5String BMPString UTF8String PrintableString ]");
}

else {
throw new Expected ("Parser Error Expected [OIDRef Any Bits VBits Octets Integer BigInteger Boolean Time List Set Choice IA5String BMPString UTF8String PrintableString ]");
}

case StateCode.Set__Spec:
Pop ();
Represent = true;
Expand Down Expand Up @@ -1962,10 +1962,10 @@ public override void Process(TokenType Token, Position Position, string Text) {
}
break;
}
else {
throw new Expected("Parser Error Expected [Code Implicit Explicit Optional Default Context ]");
}

else {
throw new Expected("Parser Error Expected [Code Implicit Explicit Optional Default Context ]");
}

case StateCode.Qualifier__Entry:
Pop ();
Represent = true;
Expand Down
4 changes: 2 additions & 2 deletions ASN/asn2/AssemblyVersion.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;
using System.Reflection;

[assembly: System.Reflection.AssemblyVersionAttribute("3.0.0.150")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("3.0.0.150")]
[assembly: System.Reflection.AssemblyVersionAttribute("3.0.0.249")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("3.0.0.249")]

4 changes: 2 additions & 2 deletions ASN/asn2/version.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
3.0.0.150
3.0.0.150
3.0.0.249
3.0.0.249
Loading

0 comments on commit eae7996

Please sign in to comment.