aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-12-11 14:15:16 +0100
committerneels <nhofmeyr@sysmocom.de>2019-09-18 00:45:34 +0000
commita9a52fff15227710e1a3a2e6222a388a3da11168 (patch)
treef1a652c281e96a91b19052f3781d283133e8a1c4 /library
parented61ae81e276cd0035d151b3b53a14e438346ec7 (diff)
MGCP: fix pattern warning
Remove implied \r to fix following warnings: "Duplicate character `\r' in the character set. Please note the \n includes the \r implicitly. Use \q{0,0,0,10} if you would like to match the LF only." Change-Id: I99948e4b82b5b4bd5b8f7c1a4c60a97fcab3c0eb
Diffstat (limited to 'library')
-rw-r--r--library/MGCP_Types.ttcn10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/MGCP_Types.ttcn b/library/MGCP_Types.ttcn
index b56734cf..6febc51c 100644
--- a/library/MGCP_Types.ttcn
+++ b/library/MGCP_Types.ttcn
@@ -54,7 +54,7 @@ module MGCP_Types {
MgcpVersion ver
} with {
variant "SEPARATOR(' ', '[\t ]+')"
- variant "END('\r\n', '([\r\n])|(\r\n)')"
+ variant "END('\n', '([\n])|(\n)')"
}
type record MgcpParameter {
@@ -63,7 +63,7 @@ module MGCP_Types {
} with {
variant "BEGIN('')"
variant "SEPARATOR(': ', ':[\t ]+')"
- variant "END('\r\n', '([\r\n])|(\r\n)')"
+ variant "END('\n', '([\n])|(\n)')"
}
type set of MgcpParameter MgcpParameterList with {
@@ -76,7 +76,7 @@ module MGCP_Types {
SDP_Message sdp optional
} with {
variant "BEGIN('')"
- variant (sdp) "BEGIN('\r\n','([\r\n])|(\r\n)')"
+ variant (sdp) "BEGIN('\n','([\n])|(\n)')"
}
external function enc_MgcpCommand(in MgcpCommand id) return charstring
@@ -90,7 +90,7 @@ module MGCP_Types {
charstring string optional
} with {
variant "SEPARATOR(' ', '[\t ]+')"
- variant "END('\r\n', '([\r\n])|(\r\n)')"
+ variant "END('\n', '([\n])|(\n)')"
}
type record MgcpResponse {
@@ -99,7 +99,7 @@ module MGCP_Types {
SDP_Message sdp optional
} with {
variant "BEGIN('')"
- variant (sdp) "BEGIN('\r\n','([\r\n])|(\r\n)')"
+ variant (sdp) "BEGIN('\n','([\n])|(\n)')"
}
external function enc_MgcpResponse(in MgcpResponse id) return charstring