Translations:Development/KDevelop-PG-Qt Introduction/148/en: Difference between revisions
(Importing a new version from external source) |
(No difference)
|
Latest revision as of 09:55, 10 February 2019
In theory such behavior might be unexpected: In BNF e.g. the above syntax would be enough and the parser would automatically jump back and retry with the next rule, here class_definition. But in practice such behaviour is - most of the time - not necessary and would slow down the parser. If however such behavior is explicitly what you want, you can use an explicit backtracking syntax in your grammar: