diff options
Diffstat (limited to 'callagent')
-rw-r--r-- | callagent/parser/SIPParser.st | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/callagent/parser/SIPParser.st b/callagent/parser/SIPParser.st index bbc42b3..5435f7e 100644 --- a/callagent/parser/SIPParser.st +++ b/callagent/parser/SIPParser.st @@ -167,10 +167,10 @@ SIPGrammar subclass: SIPParser [ ^super challenge => [:nodes | | d | d := Dictionary new. - - (nodes at: 4) do: - [:each | d at: each second first put: each second third ]. - d at: (nodes at: 3) first put: (nodes at: 3) third. + (nodes at: 2) do: [:each | + "Skip the separator for now until we have withoutSeparators" + each isCharacter ifFalse: [ + d at: each first put: each third]]. d] ] |