summaryrefslogtreecommitdiff
path: root/source4/build/pasn1
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pasn1')
-rw-r--r--source4/build/pasn1/asn1.yp9
1 files changed, 8 insertions, 1 deletions
diff --git a/source4/build/pasn1/asn1.yp b/source4/build/pasn1/asn1.yp
index 5fa6460d7e..caaed4cb50 100644
--- a/source4/build/pasn1/asn1.yp
+++ b/source4/build/pasn1/asn1.yp
@@ -37,7 +37,7 @@ asn1_target:
;
asn1_delim:
- ':' ':' '='
+ delimitter
;
asn1_application:
@@ -166,6 +166,9 @@ anytext: #empty { "" }
| anytext '(' anytext ')' anytext { "$_[1]$_[2]$_[3]$_[4]$_[5]" }
;
+delimitter: DELIMITTER
+;
+
identifier: IDENTIFIER
;
@@ -224,6 +227,10 @@ again:
$parser->YYData->{LINE}++;
goto again;
}
+ if (s/^::=//) {
+ $parser->YYData->{LAST_TOKEN} = $1;
+ return('DELIMITTER',$1);
+ }
if (s/^\"(.*?)\"//) {
$parser->YYData->{LAST_TOKEN} = $1;
return('TEXT',$1);