jadams-tresys commented on a change in pull request #84: Daffodil 1923 - Allow
use of the same character for escapeBlockEnd and escapeEscapeCharacter
URL: https://github.com/apache/incubator-daffodil/pull/84#discussion_r203464555
##########
File path:
daffodil-runtime1/src/main/scala/org/apache/daffodil/processors/dfa/Rules.scala
##########
@@ -501,6 +503,11 @@ class EECStateBlock(states: => ArrayBuffer[State],
blockEnd: DFADelimiter, val E
r.nextState = StartState
}
},
+ Rule { (r: Registers) => couldBeFirstChar(r.data0, blockEnd) } {
+ (r: Registers) => {
+ r.status = StateKind.Paused //PTERMState
+ }
+ },
Review comment:
I think that this one could be the same change as above, but since I wan't
running into any issues when switching the order of the rules in EECStateBlock
(unlike when switching order or rules in StartStateEscapeBlock) I though
switching the rules was cleaner. I'm OK with changing it to match though.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services