X-Git-Url: https://jxself.org/git/?p=linux-libre-firmware.git;a=blobdiff_plain;f=a56%2Flex.c;h=2f09a345c1755057b1a5c87c6bf087853f763fc7;hp=72864ca53f466bca08a1314ba246fa89f49737cc;hb=f07be12031abba293b71032ba5bf986025c88576;hpb=2f1531e4055f4becfdda9a688a4e2d686df27ead diff --git a/a56/lex.c b/a56/lex.c index 72864ca..2f09a34 100644 --- a/a56/lex.c +++ b/a56/lex.c @@ -8,6 +8,25 @@ *******************************************************\ /* + * Copyright (C) 2012 Thorsten Alteholz + * + * This file is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published + * by the Free Software Foundation, either version 3 of the License, + * or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see + * . + * + * This file incorporates work covered by the following copyright and + * permission notice: + * * Copyright (C) 1990-1998 Quinn C. Jensen * * Permission to use, copy, modify, distribute, and sell this @@ -75,7 +94,7 @@ yylex() case CHEX: yylval.n.type = INT; yylval.n.seg = ANY; - yylval.n.val.i = strtol(tok, 0, 16); + yylval.n.val.i = a56_strtol(tok, 0, 16); RET(CHEX); break; case CDEC: