diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2022-11-24 15:53:40 -0500 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-11-25 01:07:59 +0100 |
commit | 7063f0aefd8a8c3c8b610ef6168cddfb2141fa12 (patch) | |
tree | 33c160c80c6a269fb8adf7c65c75be7fc6181ea0 /parser.y | |
parent | f51fc836c5b690f5448e76196dd40bdb55957a11 (diff) | |
download | mig-7063f0aefd8a8c3c8b610ef6168cddfb2141fa12.tar.gz mig-7063f0aefd8a8c3c8b610ef6168cddfb2141fa12.tar.bz2 mig-7063f0aefd8a8c3c8b610ef6168cddfb2141fa12.zip |
mig: replace boolean.h with stdbool.h
Message-Id: <Y3/Z1CGL8D4OwT66@viriathus>
Diffstat (limited to 'parser.y')
-rw-r--r-- | parser.y | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -221,8 +221,8 @@ SubsystemStart : sySubsystem if (SubsystemName != strNULL) { warn("previous Subsystem decl (of %s) will be ignored", SubsystemName); - IsKernelUser = FALSE; - IsKernelServer = FALSE; + IsKernelUser = false; + IsKernelServer = false; strfree((string_t) SubsystemName); } } @@ -236,7 +236,7 @@ SubsystemMod : syKernelUser { if (IsKernelUser) warn("duplicate KernelUser keyword"); - IsKernelUser = TRUE; + IsKernelUser = true; port_size = vm_offset_size; port_size_in_bits = vm_offset_size_in_bits; } @@ -244,7 +244,7 @@ SubsystemMod : syKernelUser { if (IsKernelServer) warn("duplicate KernelServer keyword"); - IsKernelServer = TRUE; + IsKernelServer = true; port_size = vm_offset_size; port_size_in_bits = vm_offset_size_in_bits; } @@ -605,10 +605,10 @@ StructHead : syStruct syLBrack IntExp syRBrack syOf ; CStringSpec : syCString syLBrack IntExp syRBrack - { $$ = itCStringDecl($3, FALSE); } + { $$ = itCStringDecl($3, false); } | syCString syLBrack syStar syColon IntExp syRBrack - { $$ = itCStringDecl($5, TRUE); } + { $$ = itCStringDecl($5, true); } ; IntExp : IntExp syPlus IntExp |