bison-patches
[Top][All Lists]
Advanced

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

Patch to position.hh in lalr1.cc skeleton


From: Matthias Mann
Subject: Patch to position.hh in lalr1.cc skeleton
Date: Sun, 06 Jul 2003 08:16:31 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030507

Hello,

The << operator for postion uses a string compare to check for an empty string. This patch replaces the check with a call to empty()

Ciao Matthias Mann
997c997
<     if (pos.filename != "")
---
>     if (!pos.filename.empty())

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

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