[svn:parrot] r46879 - trunk/compilers/imcc
plobsing at svn.parrot.org
plobsing at svn.parrot.org
Sat May 22 06:34:13 UTC 2010
Author: plobsing
Date: Sat May 22 06:34:13 2010
New Revision: 46879
URL: https://trac.parrot.org/parrot/changeset/46879
Log:
remove unecessary line number decrement
Modified:
trunk/compilers/imcc/imcc.l
trunk/compilers/imcc/imclexer.c
Modified: trunk/compilers/imcc/imcc.l
==============================================================================
--- trunk/compilers/imcc/imcc.l Sat May 22 05:52:55 2010 (r46878)
+++ trunk/compilers/imcc/imcc.l Sat May 22 06:34:13 2010 (r46879)
@@ -215,8 +215,6 @@
yy_pop_state(yyscanner);
yy_scan_string(IMCC_INFO(interp)->frames->heredoc_rest, yyscanner);
- /* not sure we need this decrement; more testing needed */
- IMCC_INFO(interp)->line--;
return STRINGC;
}
else {
Modified: trunk/compilers/imcc/imclexer.c
==============================================================================
--- trunk/compilers/imcc/imclexer.c Sat May 22 05:52:55 2010 (r46878)
+++ trunk/compilers/imcc/imclexer.c Sat May 22 06:34:13 2010 (r46879)
@@ -2926,7 +2926,7 @@
yy_scan_string(IMCC_INFO(interp)->frames->heredoc_rest,yyscanner);
/* not sure we need this decrement; more testing needed */
- IMCC_INFO(interp)->line--;
+ // IMCC_INFO(interp)->line--;
return STRINGC;
}
else {
More information about the parrot-commits
mailing list