Talk:Compiler/syntax analyzer: Difference between revisions

Content added Content deleted
mNo edit summary
No edit summary
Line 21: Line 21:


You are correct. Thanks for catching this! I have modified the grammar. --[[User:Ed Davis|Ed Davis]] ([[User talk:Ed Davis|talk]]) 11:03, 23 October 2016 (UTC)
You are correct. Thanks for catching this! I have modified the grammar. --[[User:Ed Davis|Ed Davis]] ([[User talk:Ed Davis|talk]]) 11:03, 23 October 2016 (UTC)

==prt_list production incorrect==
I think the prt_list production should be:
<pre>
prt_list = (String | expr) { ',' (String | expr) } ;
</pre>
because | is lower precedence than concatenation.