projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pCode - register allocation, flow analysis, and peephole.
[fw/sdcc]
/
src
/
SDCC.lex
diff --git
a/src/SDCC.lex
b/src/SDCC.lex
index a668b0aed4f095474c602d77bdab90de8b8f56e1..b335a917aaf958af396969789c558046a5d9867b 100644
(file)
--- a/
src/SDCC.lex
+++ b/
src/SDCC.lex
@@
-263,7
+263,7
@@
int checkCurrFile ( char *s)
/* mark the end of the filename */
while (*s != '"') s++;
*s = '\0';
- currFname = Safe_calloc(strlen(sb)+1);
+ currFname = Safe_calloc(
1,
strlen(sb)+1);
strcpy(currFname,sb);
yylineno = lNum - 2;
}