help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

calc++ example driver::scan_*


From: lostbits
Subject: calc++ example driver::scan_*
Date: Fri, 2 Jun 2023 14:34:03 -0700
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2

Bison.doc v3.8.1

I found the body for Driver::scan_begin and Driver::scan_end in scanner.ll. Shouldn't this be colocated with the Driver class source code? I (personally) have never seen the body of a class prototype function defined in any other location than the class source. Isn't this an example of poor coding?

thanks
art




reply via email to

[Prev in Thread] Current Thread [Next in Thread]